8000 Addresses shutdown and thread safety issues by marceloduplicati · Pull Request #6372 · duplicati/duplicati · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Addresses shutdown and thread safety issues #6372

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

Merged

Conversation

marceloduplicati
Copy link
Contributor

Improvement on AvaloniaRunner, HttpServerConnection, and HostedInstanceKeeper to prevent race conditions during shutdown.

Adds cancellation tokens and locking mechanisms to ensure that operations are properly stopped and resources are released in a controlled manner.

Also handles a NullReferenceException during Avalonia shutdown, and avoids invoking InstanceShutdown or ConnectionClosed multiple times.

This fixes solve issue #6359

Improvement on AvaloniaRunner, HttpServerConnection, and HostedInstanceKeeper to prevent race conditions during shutdown.

Adds cancellation tokens and locking mechanisms to ensure that operations are properly stopped and resources are released in a controlled manner.

Also handles a NullReferenceException during Avalonia shutdown, and avoids invoking `InstanceShutdown` or `ConnectionClosed` multiple times.
@marceloduplicati marceloduplicati marked this pull request as ready for review June 27, 2025 00:03
@kenkendk kenkendk merged commit 57d85fc into duplicati:master Jul 1, 2025
23 checks passed
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.

2 participants
0