Comparing version 0.1.5 to 0.1.6
@@ -53,6 +53,8 @@ var EventEmitter = require('events').EventEmitter; | ||
debug('connection closed'); | ||
self.ps.removeListener('packet', onpacket); | ||
self.socket.removeListener('error', onerror); | ||
self.socket = null; | ||
self.ps = null; | ||
if (self.ps) { | ||
self.ps.removeListener('packet', onpacket); | ||
self.ps = null; | ||
} | ||
self.emit('close'); | ||
@@ -59,0 +61,0 @@ } |
{ | ||
"name": "castv2", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "An implementation of the Chromecast CASTV2 protocol", | ||
@@ -5,0 +5,0 @@ "author": "thibauts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32869
342