diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-03-30 17:12:29 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-04-01 09:34:50 -0400 |
commit | 95166a0d000f3b830f5094ea891e1c1d25b428c7 (patch) | |
tree | d0b8a701fc372aeb08297cc0d484fdd097c18562 /src | |
parent | eabb26e2a31cdf909ccc69777fd97331504a85ef (diff) | |
download | mongo-95166a0d000f3b830f5094ea891e1c1d25b428c7.tar.gz |
SERVER-23437 Don't attempt to gracefully close sockets on shutdown
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/db.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index b0a06467dbd..ada7880f97e 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -867,11 +867,6 @@ static void shutdownServer() { log(LogComponent::kNetwork) << "shutdown: going to flush diaglog..." << endl; _diaglog.flush(); - /* must do this before unmapping mem or you may get a seg fault */ - log(LogComponent::kNetwork) << "shutdown: going to close sockets..." << endl; - stdx::thread close_socket_thread(stdx::bind(MessagingPort::closeAllSockets, 0)); - close_socket_thread.detach(); - // We drop the scope cache because leak sanitizer can't see across the // thread we use for proxying MozJS requests. Dropping the cache cleans up // the memory and makes leak sanitizer happy. |