obs-studio/UI/obs-frontend-api
Richard Stanway d997a56fb6 UI: Destroy the frontend API after OBS_FRONTEND_EVENT_EXIT
The frontend API was never explicitly cleaned up which has lead to
several crashes from plugins continuing to call it even after OBS itself
has been destroyed. We now destroy the API after the exit event, so
further calls by plugins will be no-ops instead of potentially accessing
destroyed OBS state.

This also required some changes to our own use of the API, as we relied
on the OBSBasic destructor to clean up some callbacks, by which point
the API should have already been destroyed.
2023-07-15 16:54:51 -07:00
..
cmake cmake: Fix obs-frontend-apiConfig.cmake included from 3rd party plugin 2023-03-27 14:09:19 -04:00
CMakeLists.txt cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
obs-frontend-api.cpp UI: Destroy the frontend API after OBS_FRONTEND_EVENT_EXIT 2023-07-15 16:54:51 -07:00
obs-frontend-api.h obs-frontend-api,UI,docs: Add API to add custom docks with no toggle 2023-06-03 16:47:01 -07:00
obs-frontend-internal.hpp obs-frontend-api,UI,docs: Add API to add custom docks with no toggle 2023-06-03 16:47:01 -07:00