Implement linger for ofi

This reduces test runtime significantly for most transports
This commit is contained in:
Dennis Klein
2019-03-20 15:48:55 +01:00
committed by Dennis Klein
parent a1b7efa2f4
commit b45e4da2a9
3 changed files with 5 additions and 4 deletions

View File

@@ -62,6 +62,9 @@ auto Context::InitThreadPool(int numberIoThreads) -> void
auto Context::Reset() -> void
{
// TODO "Linger", rethink this
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
fIoContext.stop();
}