[libcalamares] When ViewManager is destroyed, reset instance pointer

This commit is contained in:
Adriaan de Groot 2018-01-17 09:16:47 -05:00
parent 845986d48f
commit 9c9486bb78

View File

@ -100,6 +100,7 @@ ViewManager::ViewManager( QObject* parent )
ViewManager::~ViewManager()
{
m_widget->deleteLater();
s_instance = nullptr;
}