Added shutdown function for app and server
This commit is contained in:
parent
c8a4c5217c
commit
2c9e5d05f7
@ -53,6 +53,12 @@ socket.on("finishDownload", function(uuid){
|
||||
$('#bar_' + uuid).css('width', '100%')
|
||||
})
|
||||
|
||||
socket.on("removedAllDownloads", function(){
|
||||
queue = []
|
||||
queueList = {}
|
||||
$("#download_list").html("")
|
||||
})
|
||||
|
||||
socket.on("updateQueue", function(update){
|
||||
if (update.uuid && queue.indexOf(update.uuid) > -1){
|
||||
console.log(update)
|
||||
|
Loading…
Reference in New Issue
Block a user