Skip to content
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

electron-12 #50

Merged
merged 23 commits into from Mar 30, 2021
Merged

electron-12 #50

merged 23 commits into from Mar 30, 2021

Conversation

sanosdole
Copy link
Owner

Implement support for Electron 12.

Major changes:

  • node #30782 New ArrayBuffer backing store prevents reusing the same data pointer
  • electron #27949 Context isolation is turned on by default and prevents coreclr-hosting from working properly
  • electron #18397 & electron #454 lead to app.allowRendererProcessReuse being fixed to true on Electron 12. This required making coreclr-hosting context aware and implement proper re-use of the hosted CLR.

Known Issues:

  • After reloading a renderer app the task scheduler sometimes hangs up, as the the ThreadSafeFunction does not get invoked.

Code cleanup and small memory management improvements.

This means at least node 12.17 & electron 11
…king store implementation

We have to ensure that we do not pass the same memory multiple times to JS.
This is done by using a `map` of memory already passed to JS.

This lead to improving the `NativeMemory` API and making it more safe. Published native memory is pooled now and only reference counted handles to it are accessed.
…up the SynchronizationContext and TaskScheduler whenever on a JS only thread.
@sanosdole sanosdole merged commit 4a40d5a into master Mar 30, 2021
@sanosdole sanosdole deleted the electron-12 branch March 30, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant