mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
network_handler.py: Ensure stop() holds thread
This commit is contained in:
@@ -301,5 +301,6 @@ class DownloadObject:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
self.should_stop = True
|
self.should_stop = True
|
||||||
if self.active_thread.is_alive():
|
if self.active_thread:
|
||||||
time.sleep(1)
|
while self.active_thread.is_alive():
|
||||||
|
time.sleep(1)
|
||||||
Reference in New Issue
Block a user