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

Fix/remove external buffers #2

Closed

Conversation

stepancar
Copy link

Electron does not allow to use https://nodejs.org/api/n-api.html#napi_create_external_buffer
You can follow nodejs documentation or look at electron/electron#35801 directly

Because of this limitation I had to run old version of electron.

This PR fixes that problem.

I tried to avoid fix this issue itself, because I was not sure how to build beamcoder, how that c++ code should look, etc.
But it is just 3 lines of code, I tested it and it seems like it works.

I'm not sure about memory leaks.

My plan is just to release it and try to run electron on production

@stepancar stepancar closed this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants