Fix unitest crash

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-05 19:16:49 +09:00
parent b98a5d62b4
commit b706722c59

View File

@ -278,7 +278,9 @@ void MultiDiskAdaptor::closeFile()
dwent->closeFile();
}
}
getRequestGroupMan()->reduceNumOfOpenedFile(n);
if(getRequestGroupMan()) {
getRequestGroupMan()->reduceNumOfOpenedFile(n);
}
}
namespace {