mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
node: fix bad assert
It was my mistake to change an assert check. This changes it back to how
the assert was originally done.
Fixes: c131c1f "modules: adding load linked modules feature"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
1 parent
4815873bb5
commit
e67db0191d
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user