unity3d-ddp-client icon indicating copy to clipboard operation
unity3d-ddp-client copied to clipboard

Connection is not closed when exiting Unity play mode

Open brean opened this issue 7 years ago • 0 comments
trafficstars

The connection is kept open and it still sends and receives data from the server after you exit the play mode (at least on the dev-branch you can still see the ping-pong messages in the console log). This might be expected behaviour when you start the communication from the Inspector but might be inconvenient in most cases when you connect during program runtime. Close should maybe be called when the object gets destroyed.

brean avatar Jan 03 '18 15:01 brean