Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
processing.net.Server only cleans up internal Clients when trying to write #3089
This can lead to memory issues if the server only reads data and never/seldom attempts to write to the clients. I see a few ways to attempt to resolve this. We could check for dead clients in the available() method or the run() loop. The other approach would be to add some sort of callback to the Server when the internal client dies. Is there a preference for one technique over the other? I would be happy to submit a PR once this is decided.