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 | 7574199fc5398ff7b106283f8670f6eb49b8a3c4 (patch) | |
tree | f9eae07430892ce62f249e80d502a633fa8e4bbb | |
parent | db6241e3cfb4ef420025ba5c8b8ddae888c7171c (diff) | |
download | qpid-python-7574199fc5398ff7b106283f8670f6eb49b8a3c4.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@889073 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/sys/DeletionManager.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/sys/DeletionManager.h b/qpid/cpp/src/qpid/sys/DeletionManager.h index 5d8428966e..c1fea19f30 100644 --- a/qpid/cpp/src/qpid/sys/DeletionManager.h +++ b/qpid/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; } |