GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — src: store pointer to Environment on DestroyParam by apapirovski · Pull Request #21099 · nodejs/node Conversation
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Isolate* isolate = args.GetIsolate(); | ||
| DestroyParam* p = new DestroyParam(); | ||
| p->asyncId = args[1].As<Number>()->Value(); | ||
| p->env = Environment::GetCurrent(isolate); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nit: isolate → args
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 0300f7c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
To avoid a potential segfault when inside WeakCallback, store a reference to Environment inside DestroyParam. PR-URL: #21099 Reviewed-By: Yang Guo <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Co-authored-by: Yang Guo <[email protected]> Co-authored-by: Michaël Zasso <[email protected]>
To avoid a potential segfault when inside WeakCallback, store a reference to Environment inside DestroyParam. PR-URL: #21099 Reviewed-By: Yang Guo <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Co-authored-by: Yang Guo <[email protected]> Co-authored-by: Michaël Zasso <[email protected]>
|
@apapirovski Could you backport this to v8.x? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.