diff options
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 5c1044dd50..3a0706c498 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -78,7 +78,6 @@ class ProcessServer(Process): | |||
78 | self.event_queue = event_queue | 78 | self.event_queue = event_queue |
79 | self.event = EventAdapter(event_queue) | 79 | self.event = EventAdapter(event_queue) |
80 | self._idlefunctions = {} | 80 | self._idlefunctions = {} |
81 | self.event_handle = bb.event.register_UIHhandler(self) | ||
82 | self.quit = False | 81 | self.quit = False |
83 | 82 | ||
84 | self.keep_running = Event() | 83 | self.keep_running = Event() |
@@ -93,6 +92,7 @@ class ProcessServer(Process): | |||
93 | self._idlefunctions[function] = data | 92 | self._idlefunctions[function] = data |
94 | 93 | ||
95 | def run(self): | 94 | def run(self): |
95 | self.event_handle = bb.event.register_UIHhandler(self) | ||
96 | bb.cooker.server_main(self.cooker, self.main) | 96 | bb.cooker.server_main(self.cooker, self.main) |
97 | 97 | ||
98 | def main(self): | 98 | def main(self): |