Skip to content

Commit adbef0d

Browse files
committed
Improve disposable interface for mainvm
1 parent 48792b6 commit adbef0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,6 +1554,8 @@ protected virtual void Dispose(bool disposing)
15541554
if (disposing)
15551555
{
15561556
_updateSource?.Dispose();
1557+
_resultsUpdateChannelWriter?.Complete();
1558+
_resultsViewUpdateTask?.Dispose();
15571559
_disposed = true;
15581560
}
15591561
}

0 commit comments

Comments
 (0)