diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-08-21 21:07:19 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-08-21 21:07:19 +0400 |
commit | 7f1a08d432f2cdf0495e49cf578ce7de629d7569 (patch) | |
tree | b540158c0fb8b136391daf9d861fde1e342f617c | |
parent | e242f66ae6755a9cac4979e0437eed5de6267486 (diff) |
netrender:
terminate can fail if process finished after the call to poll, just pass on error then.
-rw-r--r-- | release/scripts/io/netrender/slave.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/io/netrender/slave.py b/release/scripts/io/netrender/slave.py index a44309d5634..b383481824b 100644 --- a/release/scripts/io/netrender/slave.py +++ b/release/scripts/io/netrender/slave.py @@ -219,7 +219,10 @@ def render_slave(engine, netsettings, threads): if cancelled: # kill process if needed if process.poll() == None: - process.terminate() + try: + process.terminate() + except OSError: + pass continue # to next frame # flush the rest of the logs |