diff options
Diffstat (limited to 'src/mongo/transport')
-rw-r--r-- | src/mongo/transport/transport_layer_legacy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/transport/transport_layer_legacy.cpp b/src/mongo/transport/transport_layer_legacy.cpp index d10d68e521e..0deea151158 100644 --- a/src/mongo/transport/transport_layer_legacy.cpp +++ b/src/mongo/transport/transport_layer_legacy.cpp @@ -205,6 +205,7 @@ void TransportLayerLegacy::_closeConnection(Connection* conn) { void TransportLayerLegacy::shutdown() { _running.store(false); + ListeningSockets::get()->closeAll(); _listener->shutdown(); if (_listenerThread.joinable()) { _listenerThread.join(); |