-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ABI-safe Hermes API and new JSI for Node-API #11696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # vnext/Shared/Shared.vcxitems.filters
vnext/Shared/JSI/V8RuntimeHolder.cpp
Outdated
|
|
||
| class V8FuncResolver : public IFuncResolver { | ||
| public: | ||
| // TODO: (vmoroz) Use Office safe DLL loading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we either do this, or file an issue to follow up on it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I will do it before merging.
|
|
||
| m_jsiRuntime = | ||
| makeNodeApiJsiRuntime(env, &api, [runtime]() { CRASH_ON_ERROR(V8Api::current()->jsr_delete_runtime(runtime)); }); | ||
| m_ownThreadId = std::this_thread::get_id(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just used for the validation in getRuntime right?
I dont think this is a valid check for fabric, since fabric will sometimes run the runtime the UI thread.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Let me see if I can remove it.
|
Looks good other than the thread id check. |
…t#11696) (microsoft#11757)" This reverts commit 7a340bd.
…t#11696) (microsoft#12033)" This reverts commit fbed06a.
The PR has the following set of changes:
Microsoft Reviewers: Open in CodeFlow