FileAllocator cleaning

This commit is contained in:
Eliot Horowitz
2011-01-09 01:45:11 -05:00
parent b3f7712ce4
commit 51ca8ee218
9 changed files with 26 additions and 15 deletions

View File

@@ -712,7 +712,7 @@ namespace mongo {
// we would only hang here if the file_allocator code generates a
// synchronous signal, which we don't expect
log() << "shutdown: waiting for fs preallocator..." << endl;
theFileAllocator().waitUntilFinished();
FileAllocator::get()->waitUntilFinished();
log() << "shutdown: closing all files..." << endl;
if( cmdLine.dur ) {