mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-27 15:46:13 -04:00
UI: Remove unnecessary null checks
This commit is contained in:
committed by
Ryan Foster
parent
2ac43052f9
commit
e9504326f9
@@ -2659,24 +2659,12 @@ OBSBasic::~OBSBasic()
|
||||
service = nullptr;
|
||||
outputHandler.reset();
|
||||
|
||||
if (interaction)
|
||||
delete interaction;
|
||||
|
||||
if (properties)
|
||||
delete properties;
|
||||
|
||||
if (filters)
|
||||
delete filters;
|
||||
|
||||
if (transformWindow)
|
||||
delete transformWindow;
|
||||
|
||||
if (advAudioWindow)
|
||||
delete advAudioWindow;
|
||||
|
||||
if (about)
|
||||
delete about;
|
||||
|
||||
delete interaction;
|
||||
delete properties;
|
||||
delete filters;
|
||||
delete transformWindow;
|
||||
delete advAudioWindow;
|
||||
delete about;
|
||||
delete remux;
|
||||
|
||||
obs_display_remove_draw_callback(ui->preview->GetDisplay(),
|
||||
|
||||
Reference in New Issue
Block a user