mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
try to prevent shutdown stack trace
This commit is contained in:
parent
09054bb579
commit
7f75c1b5f7
@ -80,7 +80,7 @@ void intr( int sig ){
|
||||
|
||||
#if !defined(_WIN32)
|
||||
void killOps() {
|
||||
if ( mongo::shellUtils::_nokillop )
|
||||
if ( mongo::shellUtils::_nokillop || mongo::shellUtils::_allMyUris.size() == 0 )
|
||||
return;
|
||||
vector< string > uris;
|
||||
for( map< const void*, string >::iterator i = mongo::shellUtils::_allMyUris.begin(); i != mongo::shellUtils::_allMyUris.end(); ++i )
|
||||
|
Loading…
Reference in New Issue
Block a user