Skip to content

Commit

Permalink
Fixed issue where this gets lost on processQueue by changing binding …
Browse files Browse the repository at this point in the history
…approach - #147
  • Loading branch information
arobson committed Feb 15, 2018
1 parent 343914b commit 5d2b467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BehavioralFsm.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ _.extend( BehavioralFsm.prototype, {
clientMeta.inputQueue = _.difference( clientMeta.inputQueue, toProcess );
_.each( toProcess, function( item ) {
this.handle.apply( this, [ client ].concat( item.args ) );
}, this );
}.bind( this ) );
},

clearQueue: function( client, name ) {
Expand Down

0 comments on commit 5d2b467

Please sign in to comment.