Created
June 16, 2019 00:37
-
-
Save deepal/5160049e43e6eec11ab37ae41e2d2c5f to your computer and use it in GitHub Desktop.
Async Hooks: After
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| InternalCallbackScope::~InternalCallbackScope() { | |
| Close(); | |
| } | |
| void InternalCallbackScope::Close() { | |
| // ...redacted | |
| if (async_context_.async_id != 0) { | |
| AsyncWrap::EmitAfter(env_, async_context_.async_id); | |
| } | |
| // ...redacted | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment