mreinstein / node-gearman

⚙ Gearman client and worker for node
75 stars 13 forks source link

Close the connection error #15

Closed rafacustodio closed 10 years ago

rafacustodio commented 10 years ago

When I try to close the connection it gives me the following error /Users/rafaelcustodio/projects/00k-crons/node_modules/gearman-js/gearman.js:151 _this.emit("close", had_transmission_error); ^ ReferenceError: _this is not defined at Socket. (/Users/rafaelcustodio/projects/00k-crons/node_modules/gearman-js/gearman.js:151:9) at Socket.EventEmitter.emit (events.js:95:17) at TCP.close (net.js:465:12)

mreinstein commented 10 years ago

@rafael-custodio which version are you running?

rafacustodio commented 10 years ago

The newest gearman-js@0.1.2 node_modules/gearman-js ├── put@0.0.6 └── binary@0.3.0 (buffers@0.1.1, chainsaw@0.1.0)

I've just updated it.

mreinstein commented 10 years ago

fixed in 0.1.3. Good catch!