[asterisk-scf-commits] asterisk-scf/release/ice-util-cpp.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Jun 28 10:41:11 CDT 2012
branch "master" has been updated
via 8d8637d15c345c4f5154782ba8d0b10ffb4bfc28 (commit)
from 298cd37ffa93d18a5f0e7284de057c8d024ee297 (commit)
Summary of changes:
include/AsteriskSCF/Operations/OperationMonitor.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 8d8637d15c345c4f5154782ba8d0b10ffb4bfc28
Author: Brent Eagles <beagles at digium.com>
Date: Thu Jun 28 13:10:13 2012 -0230
Missed clearing the callbacks from the non-return value AMD methods.
diff --git a/include/AsteriskSCF/Operations/OperationMonitor.h b/include/AsteriskSCF/Operations/OperationMonitor.h
index 9e11b79..4214eb9 100644
--- a/include/AsteriskSCF/Operations/OperationMonitor.h
+++ b/include/AsteriskSCF/Operations/OperationMonitor.h
@@ -353,6 +353,7 @@ ASTSCF_DLL_EXPORT void AMDContextData<CB>::onSetException()
{
(*iter)->ice_exception(*(mExceptionResult->exception()));
}
+ mCallbacks.clear();
}
template <class CB>
@@ -363,6 +364,7 @@ ASTSCF_DLL_EXPORT void AMDContextData<CB>::onSetCompleted()
{
(*iter)->ice_response();
}
+ mCallbacks.clear();
}
/**
-----------------------------------------------------------------------
--
asterisk-scf/release/ice-util-cpp.git
More information about the asterisk-scf-commits
mailing list