Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Connection is not closed when exiting Unity play mode #7

Open
brean opened this issue Jan 3, 2018 · 0 comments
Open

Connection is not closed when exiting Unity play mode #7

brean opened this issue Jan 3, 2018 · 0 comments

Comments

@brean
Copy link
Collaborator

brean commented Jan 3, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant