diff --git a/mama/c_cpp/src/c/queue.c b/mama/c_cpp/src/c/queue.c index ee0385198..9c5b24312 100644 --- a/mama/c_cpp/src/c/queue.c +++ b/mama/c_cpp/src/c/queue.c @@ -18,7 +18,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA */ - #include "wombat/port.h" #include #include @@ -1398,8 +1397,6 @@ mamaDispatcher_destroy (mamaDispatcher dispatcher) mamaQueue_stopDispatch (impl->mQueue); } - /* Wait for the thread to return. */ - wthread_join (impl->mThread, NULL); wInterlocked_destroy (&impl->mIsDispatching); /* Destroy the thread handle. */