diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index 603e157a25..e0ce9ec543 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -1207,7 +1207,7 @@ module.exports = (_ => { onStop () { BDFDB.TimeUtils.clear(updateInterval); - BDFDB.TimeUtils.clear(loading.timeout); + BDFDB.TimeUtils.clear(loading && loading.timeout); this.forceUpdateAll();