mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
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. |
||
---|---|---|
.. | ||
cmake | ||
CMakeLists.txt | ||
obs-frontend-api.cpp | ||
obs-frontend-api.h | ||
obs-frontend-internal.hpp |