mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Fixes
This commit is contained in:
parent
379c121350
commit
f992d625fb
@ -1899,7 +1899,7 @@ Channel.prototype.deleteMedia = function (uid, callback) {
|
||||
*/
|
||||
Channel.prototype.setTemp = function (uid, temp) {
|
||||
var item = this.playlist.items.find(uid);
|
||||
if (item == null) {
|
||||
if (item === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -158,6 +158,8 @@ Server.prototype.unloadChannel = function (chan) {
|
||||
chan.saveState();
|
||||
}
|
||||
|
||||
chan.logger.log("[init] Channel shutting down");
|
||||
|
||||
chan.playlist.die();
|
||||
chan.logger.close();
|
||||
for (var i = 0; i < this.channels.length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user