mirror of https://github.com/ARMmbed/mbed-os.git
IOTBTOOL-333: Fix SimpleQueue build failure on py3
Build system was using an internal feature of the Pool class that is unavailable in a py3 system. This would cause an exception if tool execution failed. Offending code has now been removedpull/11823/head
parent
3254ec3cae
commit
a8fbd59b05
|
@ -556,9 +556,7 @@ class mbedToolchain:
|
|||
])
|
||||
objects.append(result['object'])
|
||||
except ToolException as err:
|
||||
if p._taskqueue.queue:
|
||||
p._taskqueue.queue.clear()
|
||||
sleep(0.5)
|
||||
# Stop the worker processes immediately without completing outstanding work
|
||||
p.terminate()
|
||||
p.join()
|
||||
raise ToolException(err)
|
||||
|
|
Loading…
Reference in New Issue