Qt: Fix double-free/crash on shutdown
This commit is contained in:
parent
048c6835e5
commit
9402c7c145
|
@ -143,7 +143,6 @@ QWidget* QtHostInterface::createDisplayWidget(QWidget* parent)
|
|||
void QtHostInterface::displayWidgetDestroyed()
|
||||
{
|
||||
m_display.release();
|
||||
delete m_display_window;
|
||||
m_display_window = nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue