set zm_terminate instead of exit() so that all the cleanup code happens

This commit is contained in:
Isaac Connor 2021-12-26 15:19:13 -05:00
parent 5933aa8a6f
commit 698fe14453
1 changed files with 4 additions and 3 deletions

View File

@ -842,7 +842,8 @@ void EventStream::runStream() {
if (!event_data) {
sendTextFrame("No event data found");
exit(0);
zm_terminate = true;
return;
}
double fps = 1.0;