mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
qemurunner: avoid leaking server_socket
close() the server_socket before qemusock replaces it. (From OE-Core rev: be7bbbeeb44158b181d1abc5a4d7871a9045fdd6) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
830f4cb0a6
commit
c7a68ff3cc
@@ -491,6 +491,7 @@ class QemuRunner:
|
||||
|
||||
decodedlog = self.decode_qemulog(bootlog)
|
||||
if self.boot_patterns['search_reached_prompt'] in decodedlog:
|
||||
self.server_socket.close()
|
||||
self.server_socket = qemusock
|
||||
stopread = True
|
||||
reachedlogin = True
|
||||
|
||||
Reference in New Issue
Block a user