mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Server: Stop WSServer on OBS exit
This should fix issues with race conditions and crashes on OBS exit.
This commit is contained in:
parent
7ae016bd3b
commit
9275f7c2a9
@ -233,6 +233,7 @@ void WSEvents::FrontendEventHandler(enum obs_frontend_event event, void* private
|
||||
case OBS_FRONTEND_EVENT_EXIT:
|
||||
owner->unhookTransitionPlaybackEvents();
|
||||
owner->OnExit();
|
||||
owner->_srv->stop();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user