Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As soon as CLS module is loaded, the instrumentation/patching of async-listener is fired. This may cause stack overflows due to promise instrumentation. By loading CLS module lazily (only when used for real), we avoid this kind of problems in applications that are not using current-context at all.
- Loading branch information