From 3854aa7955a46e2a198f9f210218e0777552d4cf Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Tue, 24 Mar 2015 19:42:56 +0000 Subject: [PATCH] Bugfix: When the client is paused, the server still send render kill request because renderingJob is not reseted --- src/com/sheepit/client/Client.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 4b26cb3..225875a 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -141,9 +141,8 @@ public class Client { Thread thread_sender = new Thread(runnable_sender); thread_sender.start(); - this.renderingJob = null; - while (this.running == true) { + this.renderingJob = null; synchronized (this) { while (this.suspended) { wait();