Skip to content

Commit 46e41d9

Browse files
authored
fixup
1 parent 1af1642 commit 46e41d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

napi.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,11 +1164,11 @@ namespace Napi {
11641164
void Reset();
11651165
void Reset(const T& value, uint32_t refcount = 0);
11661166

1167-
// Call this on a reference that is declared as static data, to prevent its destructor
1168-
// from running at program shutdown time, which would attempt to reset the reference when
1169-
// the environment is no longer valid.
1170-
// Avoid using this if at all possible. If you do need to use static data,
1171-
// MAKE SURE to warn your users that your addon is NOT threadsafe.
1167+
// Call this on a reference that is declared as static data, to prevent its
1168+
// destructor from running at program shutdown time, which would attempt to
1169+
// reset the reference when the environment is no longer valid. Avoid using
1170+
// this if at all possible. If you do need to use static data, MAKE SURE to
1171+
// warn your users that your addon is NOT threadsafe.
11721172
void SuppressDestruct();
11731173

11741174
protected:

0 commit comments

Comments
 (0)