Error handling for 3751d20ce

This commit is contained in:
Robin Gareus
2024-09-27 17:20:42 +02:00
parent 3751d20ce9
commit 71a3161252

View File

@@ -127,6 +127,8 @@ ExportHandler::ExportHandler (Session & session)
_timespan_thread_active.store (1);
if (pthread_create (&_timespan_thread, NULL, _timespan_thread_run, this)) {
_timespan_thread_active.store (0);
fatal << "Cannot create export handler helper thread" << endmsg;
abort(); /* NOTREACHED*/
}
}