save config on torrent.destroy

This commit is contained in:
Nate Goldman
2016-03-05 22:44:53 -08:00
parent 045f38089c
commit ec56d9a642

View File

@@ -315,7 +315,9 @@ function openPlayer (torrent) {
}
function deleteTorrent (torrent) {
torrent.destroy(update)
torrent.destroy(function() {
saveTorrents() // updates after writing to config
})
}
function openChromecast (torrent) {