diff --git a/renderer/index.js b/renderer/index.js index e424e8eb..bcafd9c7 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -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) {