Merge pull request #1316 from webtorrent/bugfix-1314

Bugfix 1314
This commit is contained in:
Feross Aboukhadijeh
2018-04-26 16:16:55 -07:00
committed by GitHub

View File

@@ -174,6 +174,7 @@ module.exports = class TorrentListController {
resumePausedTorrents () {
console.log('Playback Priority: resuming paused torrents')
if (!this.state.saved.torrentsToResume || !this.state.saved.torrentsToResume.length) return
this.state.saved.torrentsToResume.map((infoHash) => {
this.toggleTorrent(infoHash)
})