This commit is contained in:
JustArchi
2016-09-11 16:37:18 +02:00
parent 19818f126f
commit e4df12fc5b

View File

@@ -89,7 +89,10 @@ namespace ArchiSteamFarm {
return globalDatabase;
}
public void Dispose() => ServerListProvider.Dispose();
public void Dispose() {
ServerListProvider.ServerListUpdated -= OnServerListUpdated;
ServerListProvider.Dispose();
}
// This constructor is used when creating new database
private GlobalDatabase(string filePath) : this() {