Wait for pipeline to be destroyed in case of exception

This commit is contained in:
Nikolai Kochetov 2022-02-03 12:14:33 +00:00
parent 2003a96b58
commit 244bb984e6

View File

@ -40,10 +40,12 @@ struct BlockIO
pipeline.reset();
}
void onException() const
void onException()
{
if (exception_callback)
exception_callback();
pipeline.reset();
}
private: