Skip to content

Commit

Permalink
fix: trying to resolve some weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
gkc committed Feb 14, 2024
1 parent 4263504 commit 70925e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/socket_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,7 @@ class SocketConnector {
Side sideB = Side(sideBSocket, false, transformer: transformBtoA);
unawaited(connector.handleSingleConnection(sideB));

Future.delayed(Duration(milliseconds: 0), () {
onConnect?.call(sideASocket, sideBSocket);
});
onConnect?.call(sideASocket, sideBSocket);
});

return (connector);
Expand Down

0 comments on commit 70925e0

Please sign in to comment.