mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-08 00:29:44 -04:00
obs-frontend-api: Send OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP
This commit is contained in:
@@ -632,7 +632,8 @@ struct OBSStudioAPI : obs_frontend_callbacks {
|
||||
|
||||
void on_event(enum obs_frontend_event event) override
|
||||
{
|
||||
if (main->disableSaving)
|
||||
if (main->disableSaving &&
|
||||
event != OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP)
|
||||
return;
|
||||
|
||||
for (size_t i = callbacks.size(); i > 0; i--) {
|
||||
|
||||
Reference in New Issue
Block a user