-
-
Notifications
You must be signed in to change notification settings - Fork 346
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] CKAN already running dialog appears even if PID in registry.locked is stale #3686
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Yup, this line is bugged: CKAN/Core/Registry/RegistryManager.cs Line 171 in cd7c3a0
That function takes the CKAN/Core/Registry/RegistryManager.cs Lines 46 to 54 in cd7c3a0
CKAN/Core/Registry/RegistryManager.cs Line 62 in cd7c3a0
Lines 84 to 91 in cd7c3a0
|
Confirmed that fixing that problem fixes the overall issue:
|
Tested it on latest build, couldn't reproduce that behaviour. Thanks 👍 |
Let's leave this issue open until the fix is merged. If we did a release from the |
Problem
If you need to close CKAN with SIGKILL, the
<GameDir>/CKAN/registry.locked
file keeps the PID of your SIGKILL'ed PID of previous CKAN session, which results in a CKAN already running error on the next start.Suggestions
Add a check if that PID in registry.locked exists and belongs to a CKAN process. If true show the already running error dialog, otherwise open CKAN without error dialog.
Describe alternatives you've considered
Additional context
Linux
The text was updated successfully, but these errors were encountered: