mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 09:05:41 +00:00
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()
|
void QtHostInterface::displayWidgetDestroyed()
|
||||||
{
|
{
|
||||||
m_display.release();
|
m_display.release();
|
||||||
delete m_display_window;
|
|
||||||
m_display_window = nullptr;
|
m_display_window = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue