mirror of
https://github.com/zealdocs/zeal.git
synced 2026-08-29 08:34:50 +08:00
fix(core): reset singleton pointer in destructor
This commit is contained in:
@@ -84,6 +84,8 @@ Application::~Application()
|
||||
|
||||
m_session->save();
|
||||
delete m_session;
|
||||
|
||||
m_instance = nullptr;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user