Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored Mar 9, 2021
1 parent 1af1642 commit 46e41d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions napi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1164,11 +1164,11 @@ namespace Napi {
void Reset();
void Reset(const T& value, uint32_t refcount = 0);

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

protected:
Expand Down

0 comments on commit 46e41d9

Please sign in to comment.