fix(server): remove connection stats feature (#1063)
This commit is contained in:
@@ -225,9 +225,6 @@ class ServersNotifier extends _$ServersNotifier {
|
||||
Stores.setting.serverOrder.put(newOrder);
|
||||
Stores.server.delete(id);
|
||||
|
||||
// Remove connection stats when server is deleted
|
||||
Stores.connectionStats.clearServerStats(id);
|
||||
|
||||
// Remove SSH session when server is deleted
|
||||
final sessionId = 'ssh_$id';
|
||||
TermSessionManager.remove(sessionId);
|
||||
@@ -246,7 +243,6 @@ class ServersNotifier extends _$ServersNotifier {
|
||||
|
||||
Stores.setting.serverOrder.put([]);
|
||||
Stores.server.clear();
|
||||
Stores.connectionStats.clearAll();
|
||||
bakSync.sync(milliDelay: 1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user