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 for Electron v21 and up. #532

Merged
merged 1 commit into from Nov 27, 2022
Merged

Conversation

Bartel-C8
Copy link
Contributor

Fixes #514

NAPI_VERSION is defined in <node_version.h>

@@ -51,7 +52,6 @@
],

'defines': [
'NAPI_VERSION=3',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't removing this cause issues?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, as now <node_version.h> is included, which defines NAPI_VERSION...

If I didn't remove this, I got a compilation error that NAPI_VERSION was being redefined.

@aminya aminya merged commit 16ec524 into zeromq:master Nov 27, 2022
@aminya
Copy link
Member

aminya commented Nov 27, 2022

I think we should add some Electron tests as well. This way we cannot catch such errors.

@Bartel-C8
Copy link
Contributor Author

Agreed, as it is a runtime crash, it is very hard to catch.

@Bartel-C8 Bartel-C8 deleted the v6fixElectron21 branch December 8, 2022 12:04
@n-riesco
Copy link
Contributor

n-riesco commented Jan 7, 2023

Hey guys, @aminya I took the time to check @sophacola 's profile. I think it's a bot.

@Bartel-C8
Copy link
Contributor Author

@sophacola : does it cause issues then? Strange Issue you created without any info in it...

@n-riesco
Copy link
Contributor

n-riesco commented Jan 7, 2023

@sophacola oops! my apologies: being a 3-day account with 60 reviews triggered my alarms.

@n-riesco
Copy link
Contributor

n-riesco commented Jan 7, 2023

@Bartel-C8 do you know @sophacola ?

@aminya
Copy link
Member

aminya commented Jan 7, 2023

Just blocked and reported them for spam

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.

Electron: Fatal error in V8: v8_ArrayBuffer_NewBackingStore
3 participants