Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add missing assert from 0.12 merge
An assert check is missing from 0.12 merge, adding it back
  • Loading branch information
julianduque committed Sep 9, 2015
commit d4e5a8003a0eecad97b0ff6f527730a198adafbf
3 changes: 3 additions & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2013,6 +2013,9 @@ extern "C" void node_module_register(void* m) {
mp->nm_link = modlist_linked;
modlist_linked = mp;
} else {
// Once node::Init was called we can only register dynamic modules.
// See DLOpen.
assert(modpending == NULL);
modpending = mp;
}
}
Expand Down