bitbake: event: Queue offline events for the UI

Messages printed when no UI is connected (e.g. memres) are currently lost.
Use the existing queue mechanism to queue these until a UI attaches, then
replay them. This isn't ideal but better than the current situation of
losing them entirely.

(Bitbake rev: cb241fb8544dfb05646dbae1a1b04e17878a466c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2017-07-07 15:41:41 +01:00
parent 9245c3b87f
commit 35846a3961
3 changed files with 12 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ class BitBakeServerCommands():
"""
Unregister a remote UI Event Handler
"""
return bb.event.unregister_UIHhandler(handlerNum)
return bb.event.unregister_UIHhandler(handlerNum, True)
def runCommand(self, command):
"""