From 81dc6a069d9a5af82dbe31357442e7df5e32f176 Mon Sep 17 00:00:00 2001 From: Nicolas Morales Date: Mon, 2 Mar 2020 09:32:31 -0800 Subject: [PATCH] #702: PendingSend: fix release not cleaning up epoch_action_ so it isn't repeated on destruction --- src/vt/messaging/pending_send.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vt/messaging/pending_send.cc b/src/vt/messaging/pending_send.cc index ea7b366e69..7c879a5d8b 100644 --- a/src/vt/messaging/pending_send.cc +++ b/src/vt/messaging/pending_send.cc @@ -112,6 +112,7 @@ void PendingSend::release() { sendMsg(); } else if ( epoch_action_ ) { epoch_action_(); + epoch_action_ = {}; } if (epoch_produced_ != no_epoch) { theMsg()->popEpoch(epoch_produced_);