Fixes for PR #279
This commit is contained in:
@@ -40,7 +40,6 @@ var dialog = remote.require('dialog')
|
|||||||
|
|
||||||
// For easy debugging in Developer Tools
|
// For easy debugging in Developer Tools
|
||||||
var state = global.state = require('./state')
|
var state = global.state = require('./state')
|
||||||
global.debugLog = require('debug')
|
|
||||||
|
|
||||||
// Force use of webtorrent trackers on all torrents
|
// Force use of webtorrent trackers on all torrents
|
||||||
global.WEBTORRENT_ANNOUNCE = createTorrent.announceList
|
global.WEBTORRENT_ANNOUNCE = createTorrent.announceList
|
||||||
@@ -600,6 +599,7 @@ function addTorrentEvents (torrent) {
|
|||||||
torrent.getFileModtimes(function (err, fileModtimes) {
|
torrent.getFileModtimes(function (err, fileModtimes) {
|
||||||
if (err) return onError(err)
|
if (err) return onError(err)
|
||||||
torrentSummary.fileModtimes = fileModtimes
|
torrentSummary.fileModtimes = fileModtimes
|
||||||
|
saveState()
|
||||||
})
|
})
|
||||||
|
|
||||||
// Notify the user that a torrent finished, but only if we actually DL'd at least part of it.
|
// Notify the user that a torrent finished, but only if we actually DL'd at least part of it.
|
||||||
|
|||||||
Reference in New Issue
Block a user