server: services: properly extends destroy function by calling super

This commit is contained in:
Jesse Chan
2020-11-02 20:53:52 +08:00
parent abf9554e31
commit 48220af88b
3 changed files with 6 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ class TaxonomyService extends BaseService<TaxonomyServiceEvents> {
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() {