diff --git a/lib/Client.js b/lib/Client.js index d999163b..6a16dfee 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -5,7 +5,6 @@ */ var debug = require('debug')('pm2:client'); -var EventEmitter = require('events').EventEmitter; var Common = require('./Common.js'); var KMDaemon = require('./Interactor/InteractorDaemonizer.js'); var rpc = require('pm2-axon-rpc'); @@ -42,8 +41,6 @@ var Client = module.exports = function(opts) { this.pub_socket_file = this.conf.DAEMON_PUB_PORT; } -Client.prototype.__proto__ = EventEmitter.prototype; - // @breaking change (noDaemonMode has been drop) // @todo ret err Client.prototype.start = function(cb) {