projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624b35d
)
core: Destroy the device list before quiting main loop
author
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Tue, 5 Oct 2010 16:44:17 +0000
(19:44 +0300)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Tue, 5 Oct 2010 16:55:10 +0000
(19:55 +0300)
For some reason, the SSDP 'BYE' message doesn't get sent out for all devices
before rygel exits. This change makes sending of these packet a lot more
(could actually be 100%) reliable.
src/rygel/rygel-main.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-main.vala
b/src/rygel/rygel-main.vala
index
f35a730
..
bf1fd85
100644
(file)
--- a/
src/rygel/rygel-main.vala
+++ b/
src/rygel/rygel-main.vala
@@
-61,6
+61,7
@@
public class Rygel.Main : Object {
public void exit (int exit_code) {
this.exit_code = exit_code;
+ this.root_devices = null;
this.main_loop.quit ();
SignalHandler.cleanup ();