Merge pull request 'Update leenkx/blender/lnx/make.py' (#4) from Onek8/LNXSDK:main into main
Reviewed-on: #4
This commit is contained in:
commit
b71275d0d5
@ -76,7 +76,6 @@ def run_proc(cmd, done: Callable) -> subprocess.Popen:
|
|||||||
# can be received by a polling function in the main thread
|
# can be received by a polling function in the main thread
|
||||||
thread_callback_queue.put([threading.current_thread(), done], block=True)
|
thread_callback_queue.put([threading.current_thread(), done], block=True)
|
||||||
while not thread_callback_queue.empty():
|
while not thread_callback_queue.empty():
|
||||||
print("Processing callback from thread:", threading.current_thread())
|
|
||||||
thread, callback = thread_callback_queue.get()
|
thread, callback = thread_callback_queue.get()
|
||||||
if callback is not None:
|
if callback is not None:
|
||||||
callback()
|
callback()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user