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 - Requiring Native Modules in the Renderer Process to be NAPI or Context Aware #42

Open
David-University opened this issue Jan 15, 2021 · 5 comments

Comments

@David-University
Copy link

As mentioned in the following issue for electron, support for native modules that are not NAPI or Context Aware are going to be dropped. Electron Issue

This will result in applications that use epoll/onoff being broken after Electron 12.

Applications based on electron 10+ require the flag app.allowRendererProcessReuse = false in the Electron main.js.

@fivdi
Copy link
Owner

fivdi commented Jan 15, 2021

I guess it would make sense to migrate from NAN to N-API to resolve this issue.

@David-University do you use Electron on a Raspberry Pi (or similar)? I don't have any idea of how many people do this.

@David-University
Copy link
Author

I use Electron on a raspberry Pi 3 and raspberry Pi 4.

@fivdi
Copy link
Owner

fivdi commented Jan 17, 2021

Ok. I'm not sure if I'll get around to this any time soon.

@Liczi
Copy link

Liczi commented Oct 28, 2021

Hi @fivdi, are you planning to tackle this?

Regards,
Jakub

@fivdi
Copy link
Owner

fivdi commented Oct 29, 2021

Not at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants