Permalink
Browse files

EventEmitter, feat: save method name in emit.

  • Loading branch information...
xicilion committed Oct 16, 2017
1 parent dc1089e commit 8d6271866d21813459ad23ba315763c7c6d3ed44
Showing with 1 addition and 0 deletions.
  1. +1 −0 fibjs/include/Trigger.h
View
@@ -460,6 +460,7 @@ class JSTrigger {
if (evs.size() > 0) {
int32_t i;
METHOD_NAME("EventEmitter.emit");
for (i = 0; i < (int32_t)evs.size(); i++)
evs[i]->join();

0 comments on commit 8d62718

Please sign in to comment.