mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
lib: fix segfault with --without-intl
Node.js segfaults when build with `--without-intl` due to an oversight
in d13cdd9. This fixes the issue.
PR-URL: https://github.com/nodejs/node/pull/21589
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
e7abde44db
commit
0d98fe6ef9
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
(function(global) {
|
||||
// https://github.com/nodejs/node/issues/14909
|
||||
delete global.Intl.v8BreakIterator;
|
||||
if (global.Intl) delete global.Intl.v8BreakIterator;
|
||||
|
||||
// https://github.com/nodejs/node/issues/21219
|
||||
// Adds Atomics.notify and warns on first usage of Atomics.wake
|
||||
|
||||
Reference in new issue
Block a user