get rid of std::terminate

This commit is contained in:
nikitamikhaylov 2020-10-08 19:46:55 +03:00
parent 67766034f2
commit 9064af6cb6

View File

@ -52,7 +52,7 @@ public:
{
need_flush = true;
if (!IOutputFormat::finalized)
std::terminate();
finalize();
finishAndWait();
}
@ -70,7 +70,6 @@ public:
void onCancel() override
{
std::cout << "onCancel" << std::endl;
finishAndWait();
}