diff --git a/src/node.cc b/src/node.cc index 94af50941bf..4e9754f8fbd 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1007,6 +1007,9 @@ MakeCallback(const Handle object, Handle argv[]) { // TODO Hook for long stack traces to be made here. + if (using_domains) + return MakeDomainCallback(object, callback, argc, argv); + // lazy load no domain next tick callbacks if (process_tickCallback.IsEmpty()) { Local cb_v = process->Get(String::New("_tickCallback"));