Debugger: Add missing NULL check in ReportUserInterface.

Fixes #16565.
This commit is contained in:
Augustin Cavalier 2022-02-07 16:14:50 -05:00
parent cb860bd2eb
commit e48ac4a3de

View File

@ -38,6 +38,7 @@ ReportUserInterface::~ReportUserInterface()
if (fShowSemaphore >= 0)
delete_sem(fShowSemaphore);
if (fTeam != NULL)
fTeam->RemoveListener(this);
}