Skip to content

Commit 6294fea

Browse files
committed
test(gateway): await async agent unsub in stale-dispose test
1 parent 09abc4c commit 6294fea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gateway/server-runtime-subscriptions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ describe("startGatewayEventSubscriptions", () => {
256256

257257
// The stale dispose must not clear the replacement's observer slot.
258258
await staleSubs.taskUnsub();
259-
staleSubs.agentUnsub();
259+
await staleSubs.agentUnsub();
260260
staleSubs.heartbeatUnsub();
261261
staleSubs.transcriptUnsub();
262262
staleSubs.lifecycleUnsub();

0 commit comments

Comments
 (0)