mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Wasn't calling setDaemon on threads spawned in PeriodicFileDownloader.
This commit is contained in:
parent
526ac1ee18
commit
0c9efdf1ae
@ -138,6 +138,7 @@ class PeriodicFileDownloader(object):
|
|||||||
name = '%s #%s' % (filename, self.downloadedCounter[filename])
|
name = '%s #%s' % (filename, self.downloadedCounter[filename])
|
||||||
t = threading.Thread(target=self._downloadFile, name=name,
|
t = threading.Thread(target=self._downloadFile, name=name,
|
||||||
args=(filename, url, f))
|
args=(filename, url, f))
|
||||||
|
t.setDaemon(True)
|
||||||
t.start()
|
t.start()
|
||||||
world.threadsSpawned += 1
|
world.threadsSpawned += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user