tests: GSocketService cleanup in test_bind_already_in_use

Use g_socket_service_stop so the rtspserver test stops listening for
incoming connections in test_bind_already_in_use.

https://bugzilla.gnome.org/show_bug.cgi?id=696541
This commit is contained in:
David Svensson Fors 2013-03-20 11:28:11 +01:00 committed by Tim-Philipp Müller
parent 91210f40f2
commit 75221ac8e3

View file

@ -877,7 +877,7 @@ GST_START_TEST (test_bind_already_in_use)
/* cleanup */
g_object_unref (serv);
g_socket_listener_close (G_SOCKET_LISTENER (service));
g_socket_service_stop (service);
g_object_unref (service);
}