diff --git a/server/services/historyService.ts b/server/services/historyService.ts index 358e4c14..e8523131 100644 --- a/server/services/historyService.ts +++ b/server/services/historyService.ts @@ -103,6 +103,8 @@ class HistoryService extends BaseService { if (this.pollTimeout != null) { clearTimeout(this.pollTimeout); } + + super.destroy(); } fetchCurrentTransferSummary = () => { diff --git a/server/services/taxonomyService.ts b/server/services/taxonomyService.ts index 005a8bf7..03ac45df 100644 --- a/server/services/taxonomyService.ts +++ b/server/services/taxonomyService.ts @@ -46,6 +46,8 @@ class TaxonomyService extends BaseService { clientGatewayService.removeListener('PROCESS_TORRENT_LIST_START', this.handleProcessTorrentListStart); clientGatewayService.removeListener('PROCESS_TORRENT_LIST_END', this.handleProcessTorrentListEnd); clientGatewayService.removeListener('PROCESS_TORRENT', this.handleProcessTorrent); + + super.destroy(); } getTaxonomy() { diff --git a/server/services/torrentService.ts b/server/services/torrentService.ts index 569b4bfe..ff3b5a63 100644 --- a/server/services/torrentService.ts +++ b/server/services/torrentService.ts @@ -60,6 +60,8 @@ class TorrentService extends BaseService { if (this.pollTimeout != null) { clearTimeout(this.pollTimeout); } + + super.destroy(); } fetchTorrentList = () => {