fix(core): close Bridges on exit without a fake offline

This commit is contained in:
DrSmoothl committed 2026-08-17 00:08:21 +08:00
1 parent 27284fd79b
commit d5f1e35c31
9 files changed
+92 -8

No files matched your search

+1
View File
@@ -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;