@ndarilek/janus
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -0,1 +1,6 @@ | ||
# V0.1.5 (2016-04-06) | ||
* Clean up how sessions are destroyed. | ||
* Eliminate double-emit of "destroyed" event. | ||
# V0.1.4 (2016-04-06) | ||
@@ -2,0 +7,0 @@ |
@@ -106,6 +106,3 @@ "use strict"; | ||
} | ||
if (_this2.destroyed) { | ||
console.log("Destroying"); | ||
_this2.emit("destroyed"); | ||
} else _this2._poll(); | ||
if (!_this2.destroyed) _this2._poll(); | ||
}); | ||
@@ -148,5 +145,5 @@ } | ||
}) | ||
}).then(function () { | ||
return _this4.emit("destroyed"); | ||
}); | ||
}).then(function () { | ||
return _this4.emit("destroyed"); | ||
}); | ||
@@ -153,0 +150,0 @@ } |
{ | ||
"name": "@ndarilek/janus", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Simple API for the Janus media server", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
14807
257