Fixed core dumped on close
This commit is contained in:
@@ -42,6 +42,7 @@ class ImagePreloader(QThread):
|
||||
def __init__(self):
|
||||
"""Initializes the preloader thread."""
|
||||
super().__init__()
|
||||
self.setObjectName("ImagePreloaderThread")
|
||||
self.path = None
|
||||
self.index = -1
|
||||
self.mutex = QMutex()
|
||||
|
||||
Reference in New Issue
Block a user