Skip to content

Commit 8269304

Browse files
committed
Check disposed for result view update ending
1 parent b519313 commit 8269304

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ async Task UpdateActionAsync()
212212
queue.Clear();
213213
}
214214

215-
Log.Error("MainViewModel", "Unexpected ResultViewUpdate ends");
215+
if (!_disposed)
216+
Log.Error("MainViewModel", "Unexpected ResultViewUpdate ends");
216217
}
217218

218219
void continueAction(Task t)

0 commit comments

Comments
 (0)