mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Track properties window lifetime via QPointer
Previously the properties window would sometimes not receive a closeEvent, leaving a dangling pointer in OBSBasicMain (and resulting in a crash when trying to open a new properties window or closing the application)
This commit is contained in:
@@ -979,8 +979,3 @@ config_t OBSBasic::Config() const
|
||||
{
|
||||
return basicConfig;
|
||||
}
|
||||
|
||||
void OBSBasic::UnloadProperties()
|
||||
{
|
||||
properties = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user