Improvement: do not display an error when the server asked to kill a render

This commit is contained in:
Laurent Clouet
2014-12-03 20:09:50 +00:00
parent 8abcde516f
commit 76c8be9e70
4 changed files with 25 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
// kill the current process, it will generate an error but it's okay
if (this.client != null && this.client.getRenderingJob() != null && this.client.getRenderingJob().getProcess() != null) {
OS.getOS().kill(this.client.getRenderingJob().getProcess());
this.client.getRenderingJob().setAskForRendererKill(true);
}
}
}