obmc-console: fix socket-handler unexpected behavior
socket handler timeout error path unregister the poller within poller
callback function which will cause unexpected behavior. Fix by skip
poller unregister within poller timeout callback function, the
unregister will happen as callback return POLLER_REMOVE.
Tested:
refer to patch commit msg
http://fusion2/c5d26975-751d-3e19-b26c-bce9d856cf9b
Google-Bug-Id: 364358832
Change-Id: I994e344472874daebf815c3853ece5f278b67e78
Signed-off-by: Dan Zhang <zhdaniel@google.com>
2 files changed