fix: missing handlescopes in event emission (#23140)
* fix: missing event emitter handlescopes * refactor: add static getter to js env
This commit is contained in:
parent
9bb8e43c9b
commit
ac5c30a707
5 changed files with 32 additions and 0 deletions
|
@ -34,6 +34,8 @@ class JavascriptEnvironment {
|
|||
return v8::Local<v8::Context>::New(isolate_, context_);
|
||||
}
|
||||
|
||||
static v8::Isolate* GetIsolate();
|
||||
|
||||
private:
|
||||
v8::Isolate* Initialize(uv_loop_t* event_loop);
|
||||
// Leaked on exit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue