1 min readFeb 23, 2019
A late follow-up.
Ignore resource leak issue warning in the previous message. Function namespace.bindEmitter()
has nothing to do with cleaning up the context. The context clean up depends on destroy
listener from Async Hooks API.
Still, for web frameworks, like Express, it’s recommended to use it to make sure that your middleware execution plays nice with CLS.