forked from bartvdbraak/blender
netrender:
terminate can fail if process finished after the call to poll, just pass on error then.
This commit is contained in:
parent
e242f66ae6
commit
7f1a08d432
@ -219,7 +219,10 @@ def render_slave(engine, netsettings, threads):
|
|||||||
if cancelled:
|
if cancelled:
|
||||||
# kill process if needed
|
# kill process if needed
|
||||||
if process.poll() == None:
|
if process.poll() == None:
|
||||||
process.terminate()
|
try:
|
||||||
|
process.terminate()
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
continue # to next frame
|
continue # to next frame
|
||||||
|
|
||||||
# flush the rest of the logs
|
# flush the rest of the logs
|
||||||
|
Loading…
Reference in New Issue
Block a user