Skip to content

Commit

Permalink
Close connection to server on GOODBYE
Browse files Browse the repository at this point in the history
As some routers (crossbar.io) don't do this.
  • Loading branch information
darkl committed Oct 18, 2017
1 parent bfb008f commit 233e979
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ public void Goodbye(GoodbyeDetails details, string reason)
{
mServerProxy.Goodbye(new GoodbyeDetails(), WampErrors.GoodbyeAndOut);
}
else
{
mServerProxy.Dispose();
}

mServerProxy.Dispose();

TrySetCloseEventArgs(SessionCloseType.Goodbye, details, reason);
}
Expand Down

0 comments on commit 233e979

Please sign in to comment.