mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate:launcher: Make sure that the IPC server is shutdown before closing the socket
This commit is contained in:
parent
2959af0761
commit
b0784ffcb3
1 changed files with 1 additions and 3 deletions
|
@ -580,9 +580,9 @@ class GstValidateTest(Test):
|
|||
|
||||
def stop_server(self):
|
||||
if self.server:
|
||||
self.server.server_close()
|
||||
self.server.shutdown()
|
||||
self.server_thread.join()
|
||||
self.server.server_close()
|
||||
self.server = None
|
||||
|
||||
def kill_subprocess(self):
|
||||
|
@ -611,8 +611,6 @@ class GstValidateTest(Test):
|
|||
self.info("%s server port: %s" % (self, self.serverport))
|
||||
ready.set()
|
||||
|
||||
# Activate the server; this will keep running until you
|
||||
# interrupt the program with Ctrl-C
|
||||
self.server.serve_forever()
|
||||
|
||||
def test_start(self, queue):
|
||||
|
|
Loading…
Reference in a new issue