mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-24 02:51:38 -08:00
Prevent crash on restart
This commit is contained in:
1 file changed
+1
@@ -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