]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/music_file.py
Fix threading problems with ipython
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / music_file.py
index b834104fe6b01d95930d4ea1e23bc8f108747015..5101f7f4c7232175a243d5445e8c9551bc58e950 100644 (file)
@@ -10,7 +10,7 @@ class MusicFile:
         self.sound = None
 
         self.loaded = False
-        threading.Thread(target = self.load_sound, args = [lock]).start()
+        threading.Thread(name = "MSMusicLoad", target = self.load_sound, args = [lock]).start()
 
     def load_sound(self, lock):
         lock.acquire()