summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-02-11 10:24:32 -0500
committerAaron <aaron@10gen.com>2009-02-11 10:24:32 -0500
commit86b5efcd1efcbac87829aea341078c5cd38a5127 (patch)
treeffd84ddb70b9f02e03417a2dd75b8d218a70746f
parent7de1d97a9375adfe3a0c9e52f3065e91de105d0d (diff)
downloadmongo-86b5efcd1efcbac87829aea341078c5cd38a5127.tar.gz
Call clientStop() before releasing mutex
-rw-r--r--db/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/db.h b/db/db.h
index e98cc395374..8226fc29fcb 100644
--- a/db/db.h
+++ b/db/db.h
@@ -188,13 +188,13 @@ namespace mongo {
clientname = database->name;
clientpath = database->path;
}
+ Top::clientStop();
dbMutexInfo.leaving();
#if BOOST_VERSION >= 103500
dbMutex.unlock();
#else
boost::detail::thread::lock_ops<boost::mutex>::unlock(dbMutex);
#endif
- Top::clientStop();
}
~dbtemprelease() {
#if BOOST_VERSION >= 103500