Browse Source
Unsubscribe the same handler with subscribed with in Dispatcher::ShutdownImpl (#17122)
pull/17136/head
Nikita Tsukanov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs
|
|
|
@ -128,7 +128,7 @@ public partial class Dispatcher |
|
|
|
private void ShutdownImpl() |
|
|
|
{ |
|
|
|
DispatcherOperation? operation = null; |
|
|
|
_impl.Timer -= PromoteTimers; |
|
|
|
_impl.Timer -= OnOSTimer; |
|
|
|
_impl.Signaled -= Signaled; |
|
|
|
do |
|
|
|
{ |
|
|
|
|