diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2008-07-28 16:45:26 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2008-07-28 16:45:26 +0000 |
| commit | e26d929d232340cb5742bc597b020a4b209761f8 (patch) | |
| tree | 53dfb4444ccd64c623e2785c9def4627e7523d0b /cpp/src/qpid/sys/Dispatcher.cpp | |
| parent | 6b27fd5d6734ffe9f03711495ddeed822fb4e676 (diff) | |
| download | qpid-python-e26d929d232340cb5742bc597b020a4b209761f8.tar.gz | |
Refactor of EpollPoller to make PollerHandler lifecycle easier
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680395 13f79535-47bb-0310-9956-ffa450edef68
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 3f901737fd..02a62c8e66 100644 --- a/cpp/src/qpid/sys/Dispatcher.cpp +++ b/cpp/src/qpid/sys/Dispatcher.cpp @@ -339,7 +339,7 @@ void DispatchHandle::doDelete() { } } // If we're not then do it right away - deferDelete(); + delete this; } void DispatchHandle::processEvent(Poller::EventType type) { @@ -433,7 +433,7 @@ void DispatchHandle::processEvent(Poller::EventType type) { break; } } - deferDelete(); + delete this; } }} |
