summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
-rw-r--r--bitbake/lib/bb/server/process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 338c44835e..ee8b14ea7d 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -164,7 +164,7 @@ class ProcessServer(multiprocessing.Process):
164 164
165 self.haveui = True 165 self.haveui = True
166 166
167 except EOFError: 167 except (EOFError, OSError):
168 print("Disconnecting Client") 168 print("Disconnecting Client")
169 fds.remove(self.controllersock) 169 fds.remove(self.controllersock)
170 fds.remove(self.command_channel) 170 fds.remove(self.command_channel)
@@ -190,7 +190,7 @@ class ProcessServer(multiprocessing.Process):
190 command = self.command_channel.get() 190 command = self.command_channel.get()
191 except EOFError: 191 except EOFError:
192 # Client connection shutting down 192 # Client connection shutting down
193 self.command_channel = False 193 ready = []
194 continue 194 continue
195 if command[0] == "terminateServer": 195 if command[0] == "terminateServer":
196 self.quit = True 196 self.quit = True