This commit is contained in:
Anatoliy Chakkaev 2013-04-22 16:47:26 +04:00 committed by Raymond Feng
parent 8370538e4e
commit 25db533827
1 changed files with 3 additions and 1 deletions

View File

@ -134,7 +134,9 @@ function Schema(name, settings) {
}
});
} else {
process.nextTick(cb);
if (cb) {
process.nextTick(cb);
}
}
};
};