mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
fix crash just introduced
This commit is contained in:
parent
22b2a2988c
commit
61cf36b823
@ -1673,7 +1673,8 @@ namespace mongo {
|
||||
Client::invalidateDB( d->name );
|
||||
|
||||
Database::closeDatabase( d->name.c_str(), d->path );
|
||||
_deleteDataFiles( d->name.c_str() );
|
||||
d = 0; // d is now deleted
|
||||
_deleteDataFiles( db.c_str() );
|
||||
}
|
||||
|
||||
typedef boost::filesystem::path Path;
|
||||
|
Loading…
Reference in New Issue
Block a user