Browse Source

Stop active executor on close

Krzysztof Krysiński 5 tháng trước cách đây
mục cha
commit
87a0c4b291
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/PixiEditor/ViewModels/Document/DocumentViewModel.cs

+ 1 - 0
src/PixiEditor/ViewModels/Document/DocumentViewModel.cs

@@ -1153,6 +1153,7 @@ internal partial class DocumentViewModel : PixiObservableObject, IDocument
 
     public void Dispose()
     {
+        Internals.ChangeController.TryStopActiveExecutor();
         Internals.Tracker.Dispose();
         Internals.Tracker.Document.Dispose();
     }