Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocketsServer::close() #322

Closed
davidgraeff opened this issue May 7, 2018 · 0 comments
Closed

WebSocketsServer::close() #322

davidgraeff opened this issue May 7, 2018 · 0 comments

Comments

@davidgraeff
Copy link

davidgraeff commented May 7, 2018

There is a begin() but no close() method defined for the websocket server. To prevent heap fragmentation I'd like to keep the websocket server object in a global variable and start and stop it on demand instead of the delete, new pattern required right now.

Would it be possible to move parts of the destructor code to a new close() method and call close() from within the destructor instead?

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

No branches or pull requests

1 participant