mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix: Dispose _autoFetchTimer before _setting set to null (#792)
Signed-off-by: Gadfly <gadfly@gadfly.vip>
This commit is contained in:
parent
c2252266ce
commit
c062f27081
1 changed files with 3 additions and 3 deletions
|
@ -427,12 +427,12 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
// Ignore
|
// Ignore
|
||||||
}
|
}
|
||||||
_settings = null;
|
|
||||||
_historiesFilterMode = Models.FilterMode.None;
|
|
||||||
|
|
||||||
_autoFetchTimer.Dispose();
|
_autoFetchTimer.Dispose();
|
||||||
_autoFetchTimer = null;
|
_autoFetchTimer = null;
|
||||||
|
|
||||||
|
_settings = null;
|
||||||
|
_historiesFilterMode = Models.FilterMode.None;
|
||||||
|
|
||||||
_watcher?.Dispose();
|
_watcher?.Dispose();
|
||||||
_histories.Cleanup();
|
_histories.Cleanup();
|
||||||
_workingCopy.Cleanup();
|
_workingCopy.Cleanup();
|
||||||
|
|
Loading…
Reference in a new issue