Skip to content

feat: Refuse start when CEF cache is locked#257

Merged
GermanCoding merged 1 commit into
mainfrom
cef-fixes
Jul 18, 2026
Merged

feat: Refuse start when CEF cache is locked#257
GermanCoding merged 1 commit into
mainfrom
cef-fixes

Conversation

@GermanCoding

Copy link
Copy Markdown
Owner

We frequently see that users have conflicting SyncTrayzor processes on the system, but in different locations. SyncTrayzor's IPC only triggers when processes are using the same install - but for whatever reasons some users have different SyncTrayzor processes in multiple locations using shared configurations. This can't work properly - the CEF cache is locked exclusively by the first process.

This then causes a CEF init failure, with a fairly generic error message that doesn't explain what's going on. Try to detect such a scenario by locking the file first - if that fails, we know another process already has that config. Explain the problem to the user and refuse startup in such a case.

We frequently see that users have conflicting SyncTrayzor processes on
the system, but in different locations. SyncTrayzor's IPC only triggers
when processes are using the same install - but for whatever reasons
some users have different SyncTrayzor processes in multiple locations
using shared configurations. This can't work properly - the CEF cache is
locked exclusively by the first process.

This then causes a CEF init failure, with a fairly generic error message
that doesn't explain what's going on. Try to detect such a scenario by
locking the file first - if that fails, we know another process already
has that config. Explain the problem to the user and refuse startup in
such a case.
@GermanCoding
GermanCoding merged commit 03b14a3 into main Jul 18, 2026
6 checks passed
@GermanCoding
GermanCoding deleted the cef-fixes branch July 18, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant