Permalink
Browse files

make sure to keep events from both process and promise

  • Loading branch information...
1 parent c9a4228 commit 00e437ed477a3349f05b0f001a7f03c933fc48ae @polotek committed Aug 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 procstreams.js
View
@@ -314,7 +314,7 @@ procPromise._prototype = {
this._resolved = true;
this._proc = procStream.apply(null, this._args);
- this._proc._events = utils.mixin({}, this._events);
+ this._proc._events = utils.mixin({}, this._proc._events, this._events);
return this._proc;
}

0 comments on commit 00e437e

Please sign in to comment.