diff --git a/src/node.cc b/src/node.cc index edb546052d4..5a9d0fc12ca 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2062,7 +2062,7 @@ extern "C" void node_module_register(void* m) { } else { // Once node::Init was called we can only register dynamic modules. // See DLOpen. - CHECK_NE(modpending, NULL); + assert(modpending == NULL); modpending = mp; } }