process.py: Fix issue where early errors weren't making it to the console
(Bitbake rev: d97f7d762e3d2f1b0da038d4d99f2531b2490670) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e1f6ebba3a
commit
90dab9783d
|
@ -78,7 +78,6 @@ class ProcessServer(Process):
|
||||||
self.event_queue = event_queue
|
self.event_queue = event_queue
|
||||||
self.event = EventAdapter(event_queue)
|
self.event = EventAdapter(event_queue)
|
||||||
self._idlefunctions = {}
|
self._idlefunctions = {}
|
||||||
self.event_handle = bb.event.register_UIHhandler(self)
|
|
||||||
self.quit = False
|
self.quit = False
|
||||||
|
|
||||||
self.keep_running = Event()
|
self.keep_running = Event()
|
||||||
|
@ -93,6 +92,7 @@ class ProcessServer(Process):
|
||||||
self._idlefunctions[function] = data
|
self._idlefunctions[function] = data
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
self.event_handle = bb.event.register_UIHhandler(self)
|
||||||
bb.cooker.server_main(self.cooker, self.main)
|
bb.cooker.server_main(self.cooker, self.main)
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
|
|
Loading…
Reference in New Issue