We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c548b commit 1af1642Copy full SHA for 1af1642
napi.h
@@ -1167,6 +1167,8 @@ namespace Napi {
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.
1172
void SuppressDestruct();
1173
1174
protected:
0 commit comments