There was an error while loading. Please reload this page.
1 parent f079c4a commit 68c5954Copy full SHA for 68c5954
lib/internal/async_context_frame.js
@@ -2,6 +2,7 @@
2
3
const {
4
ObjectSetPrototypeOf,
5
+ SafeMap,
6
} = primordials;
7
8
@@ -11,7 +12,7 @@ const {
11
12
13
let enabled_;
14
-class ActiveAsyncContextFrame extends Map {
15
+class ActiveAsyncContextFrame extends SafeMap {
16
static get enabled() {
17
return true;
18
}
@@ -50,7 +51,7 @@ function checkEnabled() {
50
51
return enabled;
52
53
-class InactiveAsyncContextFrame extends Map {
54
+class InactiveAsyncContextFrame extends SafeMap {
55
56
enabled_ ??= checkEnabled();
57
return enabled_;
0 commit comments