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 ce709d9 commit 93ef27bCopy full SHA for 93ef27b
include/noobject.h
@@ -645,7 +645,7 @@ template <typename CLASS> NOBIND_INLINE CLASS *NoObjectWrap<CLASS>::Get() { retu
645
#ifndef NOBIND_NO_ASYNC_LOCKING
646
template <typename CLASS> NOBIND_INLINE void NoObjectWrap<CLASS>::Lock() NOBIND_NOEXCEPT {
647
NOBIND_VERBOSE_TYPE(LOCK, CLASS, self, "Locking\n");
648
-#if defined(NOBIND_THROW_ON_EVENT_LOOP_BLOCK) or defined(NOBIND_WARN_ON_EVENT_LOOP_BLOCK)
+#if defined(NOBIND_THROW_ON_EVENT_LOOP_BLOCK) || defined(NOBIND_WARN_ON_EVENT_LOOP_BLOCK)
649
Napi::Env env = this->Env();
650
auto instance = env.GetInstanceData<BaseEnvInstanceData>();
651
if (instance->js_thread == std::this_thread::get_id()) {
0 commit comments