Skip to content

Commit

Permalink
fix: prevent route loss on commit on target route
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 5, 2023
1 parent cafe432 commit 70bb33e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/transport/stream/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ export class Routes {
session
);
}
map.delete(target);
} else {
return;
}
/* if (map.size === 1) {
this.pendingRoutes.delete(session);
Expand Down

0 comments on commit 70bb33e

Please sign in to comment.