Skip to content
Commit 0e19f31a authored by Richard Purdie's avatar Richard Purdie
Browse files

oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test



Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.

Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 38b36d2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment