projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e529c4b
)
test_server_shutdown: disconnect the server before causing it to be freed
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 19 Jan 2011 17:34:10 +0000
(17:34 +0000)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 21 Jan 2011 14:22:39 +0000
(14:22 +0000)
Otherwise we die with an assertion failure.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33277
test/test-utils.c
patch
|
blob
|
history
diff --git
a/test/test-utils.c
b/test/test-utils.c
index
1c78812
..
05cd753
100644
(file)
--- a/
test/test-utils.c
+++ b/
test/test-utils.c
@@
-334,6
+334,8
@@
void
test_server_shutdown (DBusLoop *loop,
DBusServer *server)
{
+ dbus_server_disconnect (server);
+
if (!dbus_server_set_watch_functions (server,
NULL, NULL, NULL,
NULL,