Qt: Fix double-free/crash on shutdown

This commit is contained in:
Connor McLaughlin 2020-01-08 13:39:04 +10:00
parent 048c6835e5
commit 9402c7c145

View file

@ -143,7 +143,6 @@ QWidget* QtHostInterface::createDisplayWidget(QWidget* parent)
void QtHostInterface::displayWidgetDestroyed()
{
m_display.release();
delete m_display_window;
m_display_window = nullptr;
}