-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
bug(developer): starting multiple instances of TIKE simultaneously causes EFOpenError
#11584
Comments
I was able to replicate this by running |
This may require some rearchitecture of the Or we could always create the window before calling the enumeration? (This may have other side-effects to consider.) Or as a stop-gap, we could fall back to a null-project scenario in the case of file lock, which would reduce the incidence of this. |
…wo processes There is a race condition where two processes may both attempt to open the same project file. This appears to happen, for example, if an author double-clicks on a single-click shortcut, launching Keyman Developer twice in quick succession. This fix adds a .lock file which is deleted automatically on close of the project or on normal or abnormal process termination. If a second process encounters the .lock file, it will simply open the welcome view instead of attempting to open the project. Fixes: #11584 Fixes: KEYMAN-DEVELOPER-1PR
For the project lock files, instead of using a filename in the same path as the project file, with a .lock extension, use a hash of the project filename in the Keyman Developer appdata folder, to avoid confusion and conflict in project folders. Fixes: #11584
Sentry Issue: KEYMAN-DEVELOPER-1PR
17.0.325
The text was updated successfully, but these errors were encountered: