diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-12-10 03:29:29 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-12-10 03:29:29 +0000 |
commit | ee918537e3adcfe6d6e9b7b15a1f748aaf167efc (patch) | |
tree | e60c6512b38d3dfbf9035fd9f377421bf5477a99 /cpp/src | |
parent | 2d5606befc20b47c801d5141faa43159581940ce (diff) | |
download | qpid-python-ee918537e3adcfe6d6e9b7b15a1f748aaf167efc.tar.gz |
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
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/sys/DeletionManager.h | 4 |
1 files changed, 0 insertions, 4 deletions
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<Mutex> l(threadStatus->lock); - allThreadsStatuses.delThreadStatus(threadStatus); - } delete threadStatus; threadStatus = 0; } |