mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 11:01:38 +00:00
Fix unitest crash
This commit is contained in:
parent
b98a5d62b4
commit
b706722c59
@ -278,7 +278,9 @@ void MultiDiskAdaptor::closeFile()
|
||||
dwent->closeFile();
|
||||
}
|
||||
}
|
||||
getRequestGroupMan()->reduceNumOfOpenedFile(n);
|
||||
if(getRequestGroupMan()) {
|
||||
getRequestGroupMan()->reduceNumOfOpenedFile(n);
|
||||
}
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
Loading…
Reference in New Issue
Block a user