mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-13 16:55:02 -04:00
UI: Ensure frontend event is removed on object deletion
This commit is contained in:
@@ -214,6 +214,8 @@ void OBSBasicStats::closeEvent(QCloseEvent *event)
|
||||
|
||||
OBSBasicStats::~OBSBasicStats()
|
||||
{
|
||||
obs_frontend_remove_event_callback(OBSFrontendEvent, this);
|
||||
|
||||
delete shortcutFilter;
|
||||
os_cpu_usage_info_destroy(cpu_info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user