From ee918537e3adcfe6d6e9b7b15a1f748aaf167efc Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 10 Dec 2009 03:29:29 +0000 Subject: QPID-2256: Removed an unnecessary lock that was causing deadlock due to lock inversion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889073 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/DeletionManager.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/sys/DeletionManager.h b/cpp/src/qpid/sys/DeletionManager.h index 5d8428966e..c1fea19f30 100644 --- a/cpp/src/qpid/sys/DeletionManager.h +++ b/cpp/src/qpid/sys/DeletionManager.h @@ -77,11 +77,7 @@ public: static void destroyThreadState() { ThreadStatus* threadStatus = getThreadStatus(); - { - ScopedLock l(threadStatus->lock); - allThreadsStatuses.delThreadStatus(threadStatus); - } delete threadStatus; threadStatus = 0; } -- cgit v1.2.1