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

@@ -43,7 +43,7 @@ describe('createStateWiring', () => {
expect(sub).toHaveBeenNthCalledWith(2, 'connections');
});
it('dispose() unwires onSessionsChanged + BridgeManager listeners (no further publishes)', () => {
it('dispose() latches so later Hook/Bridge edges publish nothing', () => {
const wiring = createStateWiring();
const bm = new BridgeManager();
wiring.bindBridgeManager(bm);