Prevent crash on restart
This commit is contained in:
@@ -323,6 +323,7 @@ void Application::restart()
|
||||
if (m_lockFile) {
|
||||
m_lockFile->unlock();
|
||||
delete m_lockFile;
|
||||
m_lockFile = nullptr;
|
||||
}
|
||||
|
||||
exit(RESTART_EXITCODE);
|
||||
|
||||
Reference in New Issue
Block a user