Fixed core dumped on close

This commit is contained in:
Ignacio Serantes
2026-04-01 08:48:06 +02:00
parent 2fbf04fdb8
commit ae00235db8
6 changed files with 52 additions and 8 deletions

View File

@@ -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()