Browse Source

Unsubscribe the same handler with subscribed with in Dispatcher::ShutdownImpl (#17122)

pull/17136/head
Nikita Tsukanov 1 year ago
committed by GitHub
parent
commit
f1135d2a01
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs

2
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
{

Loading…
Cancel
Save