-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct latent single instance lock file preventing launch #997
Conversation
src/gui/Application.cpp
Outdated
if (!m_alreadyRunning) { | ||
// If we get here then the original instance is likely dead | ||
// forceably reset the lock file | ||
m_lockFile->removeStaleLockFile(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@droidmonkey Maybe we could add a qDebug
or qWarn
here? Might be useful for debugging purposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, I'll add that tonight
793dc70
to
2b69b40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine and works great.
Any specific reason to use +
instead of .append
for strings?
Consistency in the code and i think it reads better. Bouncing between Kotlin and C++ I can never remember what is immutable and what isn't. |
- Corrected multiple snap issues [#934, #1011] - Corrected multiple custom icon issues [#708, #719, #994] - Corrected multiple Yubikey issues [#880] - Fixed single instance preventing load on occasion [#997] - Keep entry history when merging databases [#970] - Prevent data loss if passwords were mismatched [#1007] - Fixed crash after merge [#941] - Added configurable auto-type default delay [#703] - Unlock database dialog window comes to front [#663] - Translation and compiling fixes
Description
I also took the opportunity to bring this code into alignment with the coding standards for variable naming.
Motivation and context
This issue has been reported 4 times since release of 2.2.0.
How has this been tested?
Manually
Types of changes
Checklist:
-DWITH_ASAN=ON
. [REQUIRED]