diff options
Diffstat (limited to 'cpp/src/qpid/sys/Dispatcher.cpp')
-rw-r--r-- | cpp/src/qpid/sys/Dispatcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/Dispatcher.cpp b/cpp/src/qpid/sys/Dispatcher.cpp index be5d8a530c..c55f808b42 100644 --- a/cpp/src/qpid/sys/Dispatcher.cpp +++ b/cpp/src/qpid/sys/Dispatcher.cpp @@ -341,7 +341,7 @@ void DispatchHandle::doDelete() { } } // If we're not then do it right away - delete this; + deferDelete(); } void DispatchHandle::dispatchCallbacks(Poller::EventType type) { @@ -435,7 +435,7 @@ void DispatchHandle::dispatchCallbacks(Poller::EventType type) { break; } } - delete this; + deferDelete(); } }} |