Skip to content
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

Fix crash when running multiple clients on Windows. #1625

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

Hoikas
Copy link
Member

@Hoikas Hoikas commented Nov 11, 2024

The logic in hsFILELock::ILock() is incorrect on Win32. We should only fail immediately if we are not blocking. As it stands, running multiple clients can cause the lock to fail, resulting in an uncaught exception being thrown.

The logic in `hsFILELock::ILock()` is incorrect on Win32. We should only
fail immediately if we are *not* blocking. As it stands, running
multiple clients can cause the lock to fail, resulting in an uncaught
exception being thrown.
@Hoikas Hoikas added the Defect label Nov 11, 2024
@Hoikas Hoikas merged commit 0352749 into H-uru:master Nov 12, 2024
17 checks passed
@Hoikas Hoikas deleted the fix_file_lock branch November 12, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants