Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d98fe6

Browse filesBrowse files
Trotttargos
authored andcommitted
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: #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>
1 parent e7abde4 commit 0d98fe6
Copy full SHA for 0d98fe6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/per_context.js‎

Copy file name to clipboardExpand all lines: lib/internal/per_context.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
(function(global) {
66
// https://github.com/nodejs/node/issues/14909
7-
delete global.Intl.v8BreakIterator;
7+
if (global.Intl) delete global.Intl.v8BreakIterator;
88

99
// https://github.com/nodejs/node/issues/21219
1010
// Adds Atomics.notify and warns on first usage of Atomics.wake

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.