mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
fix: memory leak caused by animation
This commit is contained in:
@@ -52,17 +52,13 @@ namespace SourceGit.ViewModels
|
||||
if (task != null)
|
||||
{
|
||||
var finished = await task;
|
||||
_popup.InProgress = false;
|
||||
if (finished)
|
||||
{
|
||||
Popup = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
_popup.InProgress = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_popup.InProgress = false;
|
||||
Popup = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user