diff --git a/resources/lib/app/application.py b/resources/lib/app/application.py index 13760126..d3dcb06d 100644 --- a/resources/lib/app/application.py +++ b/resources/lib/app/application.py @@ -18,6 +18,8 @@ class App(object): def __init__(self, entrypoint=False): self.fetch_pms_item_number = None self.force_reload_skin = None + # All thread instances + self.threads = [] if entrypoint: self.load_entrypoint() else: @@ -44,8 +46,6 @@ class App(object): self.monitor = None # xbmc.Player() instance self.player = None - # All thread instances - self.threads = [] # Instance of MetadataThread() self.metadata_thread = None # Instance of ImageCachingThread()