Skip to content

Commit ddc6ab7

Browse files
committed
fix: fix a bug that some time the mask do not disappear after popup is closed
1 parent bc3d7b3 commit ddc6ab7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Ui/Bootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ protected override void ConfigureIoC(IStyletIoCBuilder builder)
101101
builder.Bind<AboutPageViewModel>().ToSelf().InSingletonScope();
102102
builder.Bind<SettingsPageViewModel>().ToSelf().InSingletonScope();
103103
builder.Bind<ServerListPageViewModel>().ToSelf().InSingletonScope();
104-
builder.Bind<ProcessingRingViewModel>().ToSelf().InSingletonScope();
105104
builder.Bind<SessionControlService>().ToSelf().InSingletonScope();
106105

106+
builder.Bind<ProcessingRingViewModel>().ToSelf();
107107
builder.Bind<IMessageBoxViewModel>().To<MessageBoxViewModel>();
108108
base.ConfigureIoC(builder);
109109
}

Ui/Model/DAO/Dapper/DapperDataBase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public override void CloseConnection()
2929
if (_databaseType == DatabaseType.Sqlite)
3030
{
3131
System.Data.SQLite.SQLiteConnection.ClearAllPools();
32-
GC.Collect();
33-
GC.WaitForPendingFinalizers();
3432
}
3533
}
3634
}

0 commit comments

Comments
 (0)