From be3a56af9d4132ccddb1c83571d035fb494059ab Mon Sep 17 00:00:00 2001 From: jrl Date: Mon, 17 Jul 2006 05:36:46 +0000 Subject: [PATCH] * shell/rb-shell.c: (rb_shell_quit): don't stop DAAP sharing when running with -n, because we don't start it then. Fixes a crash on exit. --- ChangeLog | 6 ++++++ shell/rb-shell.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 25cf4ba9..dbaae030 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-07-17 James Livingston + * shell/rb-shell.c: (rb_shell_quit): don't stop DAAP sharing when + running with -n, because we don't start it then. Fixes a crash on + exit. + +2006-07-17 James Livingston + patch by: Przemysław Grzegorczyk * data/glade/playlist-save.glade: Make the "playlist save" dialog use diff --git a/shell/rb-shell.c b/shell/rb-shell.c index ed2e6ebc..473aa952 100644 --- a/shell/rb-shell.c +++ b/shell/rb-shell.c @@ -2392,7 +2392,8 @@ rb_shell_quit (RBShell *shell, #ifdef WITH_DAAP_SUPPORT rb_daap_sources_shutdown (shell); - rb_daap_sharing_shutdown (shell); + if (!shell->priv->no_registration) + rb_daap_sharing_shutdown (shell); #endif /* WITH_DAAP_SUPPORT */ rb_shell_shutdown (shell); rb_shell_sync_state (shell); -- 2.11.4.GIT