Fix this check

This commit is contained in:
Luis Blanco 2019-08-18 14:52:39 +03:00
parent 5654bbc5d5
commit 2600de3f8f
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@
if (_isDestroyed) return;
#define THIS_CHECK \
if (_isDestroyed) RET_UNDEFINED; \
NAPI_ENV;
NAPI_ENV; \
if (_isDestroyed) RET_UNDEFINED;
#define CACHE_CAS(CACHE, V) \
if (CACHE == V) { \