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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user