From c11874eb17f6667a17336af78101b2a07f8836d2 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Tue, 9 May 2023 22:52:57 -0700 Subject: [PATCH] eventhandler: Use OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN for exit Fixes #1136 --- src/eventhandler/EventHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eventhandler/EventHandler.cpp b/src/eventhandler/EventHandler.cpp index 007ea957..093b8678 100644 --- a/src/eventhandler/EventHandler.cpp +++ b/src/eventhandler/EventHandler.cpp @@ -261,7 +261,7 @@ void EventHandler::OnFrontendEvent(enum obs_frontend_event event, void *private_ case OBS_FRONTEND_EVENT_FINISHED_LOADING: eventHandler->FrontendFinishedLoadingMultiHandler(); break; - case OBS_FRONTEND_EVENT_EXIT: + case OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN: eventHandler->FrontendExitMultiHandler(); break;