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

Add cleanupEmptyNamespaces option #1

Closed
wants to merge 1 commit into from

Conversation

stevebaum23
Copy link
Owner

@stevebaum23 stevebaum23 commented Jan 13, 2023

If the option is turned on, when a socket disconnects, it will check if the namespace the socket was connect to has any other sockets connected. If there are none, it will call adapter.close() and remove the namespace from the internal list.

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behavior

New behavior

Other information (e.g. related issues)

If the option is turned on, when a socket disconnects, it will check if the namespace the socket was connect to has any other sockets connected. If there are none, it will call adapter.close() and remove the namespace from the internal list.
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

Successfully merging this pull request may close these issues.

1 participant