Skip to content

Commit 6621a78

Browse files
fixup! fixup! fixup! timers: use V8 fast API calls
Co-authored-by: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 3ac7f2f commit 6621a78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/internal/timers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ class Immediate {
634634
this[kRefed] = true;
635635

636636
if (immediateInfo[kRefCount]++ === 0) {
637-
// We need to use the binding as the receiver for fast API calls.
637+
// We need to use the binding as the receiver for fast API calls.
638638
binding.toggleImmediateRef(true);
639639
}
640640
}

src/timers.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef SRC_NODE_TIMERS_H_
2-
#define SRC_NODE_TIMERS_H_
1+
#ifndef SRC_TIMERS_H_
2+
#define SRC_TIMERS_H_
33

44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

@@ -67,4 +67,4 @@ class BindingData : public SnapshotableObject {
6767

6868
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
6969

70-
#endif // SRC_NODE_TIMERS_H_
70+
#endif // SRC_TIMERS_H_

0 commit comments

Comments
 (0)