Skip to content

Commit

Permalink
Remove all listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
ziczhu committed Mar 8, 2016
1 parent 9a45a3e commit e4b7dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/run/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = (function () {
if (!runner) {
runner = new Runner();
}
runner.removeAllListeners(['data', 'error', 'close']);
runner.removeAllListeners();
runner.init(options);
return runner;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "macaca-client",
"version": "1.0.8",
"version": "1.0.9",
"description": "macaca client for automation",
"keywords": [
"automation",
Expand Down

0 comments on commit e4b7dc9

Please sign in to comment.