Skip to content

Commit

Permalink
Prevent crash on restart
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Jun 29, 2020
1 parent 790b338 commit ef7a428
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ void Application::restart()
if (m_lockFile) {
m_lockFile->unlock();
delete m_lockFile;
m_lockFile = nullptr;
}

exit(RESTART_EXITCODE);
Expand Down

0 comments on commit ef7a428

Please sign in to comment.