Fix unitest crash

pull/180/head
Tatsuhiro Tsujikawa 2014-01-05 19:16:49 +09:00
parent b98a5d62b4
commit b706722c59
1 changed files with 3 additions and 1 deletions

View File

@ -278,8 +278,10 @@ void MultiDiskAdaptor::closeFile()
dwent->closeFile();
}
}
if(getRequestGroupMan()) {
getRequestGroupMan()->reduceNumOfOpenedFile(n);
}
}
namespace {
bool isInRange(DiskWriterEntry* entry, int64_t offset)