--- gvfs-0.2.4_orig/client/gvfsfusedaemon.c	2008-05-27 07:54:41.000000000 +1000
+++ gvfs-0.2.4/client/gvfsfusedaemon.c	2008-07-15 15:22:04.000000000 +1000
@@ -2144,7 +2144,8 @@ static void
 vfs_destroy (gpointer param)
 {
   mount_list_free ();
-  g_main_loop_quit (subthread_main_loop);
+  if (g_main_loop_is_running(subthread_main_loop)) 
+    g_main_loop_quit (subthread_main_loop);
   g_mutex_free (mount_list_mutex);
   g_object_unref (gvfs);
 }
