summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index bfd6404b73..5b8a549f94 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -173,6 +173,7 @@ class ProcessServer(multiprocessing.Process):
173 self.event_writer.writer.close() 173 self.event_writer.writer.close()
174 del self.event_writer 174 del self.event_writer
175 self.controllersock.close() 175 self.controllersock.close()
176 self.controllersock = False
176 self.haveui = False 177 self.haveui = False
177 self.lastui = time.time() 178 self.lastui = time.time()
178 self.cooker.clientComplete() 179 self.cooker.clientComplete()
@@ -188,6 +189,7 @@ class ProcessServer(multiprocessing.Process):
188 command = self.command_channel.get() 189 command = self.command_channel.get()
189 except EOFError: 190 except EOFError:
190 # Client connection shutting down 191 # Client connection shutting down
192 self.command_channel = False
191 continue 193 continue
192 if command[0] == "terminateServer": 194 if command[0] == "terminateServer":
193 self.quit = True 195 self.quit = True