fix(core): close Bridges on exit without a fake offline
This commit is contained in:
9 files changed
+92
-8
No files matched your search
@@ -382,6 +382,7 @@ export class OneBotManager {
|
||||
}
|
||||
|
||||
private onSessionClosed(uin: string): void {
|
||||
if (this.disposed) return;
|
||||
const migration = this.databaseMigrations.get(uin);
|
||||
if (migration) {
|
||||
migration.cancelled = true;
|
||||
|
||||
Reference in new issue
Block a user