diff --git a/include/event-emitter.hpp b/include/event-emitter.hpp index d0f186b..3931d02 100644 --- a/include/event-emitter.hpp +++ b/include/event-emitter.hpp @@ -113,7 +113,7 @@ public: if ( ! callback.IsEmpty() ) { Nan::AsyncResource async("EventEmitter::cpp_emit()"); - callback.Call(argc, argv, &async); + callback.Call(handle(), argc, argv, &async); } }