No way to close a namespace (since v3)? #4112
Unanswered
TotallyInformation
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It used to be possible to get rid of a namespace up until socket.io v3 (using
delete server.nsps['/namespace']
).I cannot find any method to do this now.
I have an application where namespaces can be created dynamically because the application is creating new web apps dynamically and each web app needs a separate namespace (with separate comms, security, etc).
When such a web app is deleted from the master application, I need to free the memory consumed by the namespace. The user may also wish to recreate a webapp with the same name (and therefore the same namespace) but it may have different settings.
So how can I tidy up the namespaces?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions