arm: Slow hardware causes server not to shut down in a timely manner.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Apr 2012 19:41:19 +0000 (20:41 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Apr 2012 19:41:19 +0000 (20:41 +0100)
daemon/daemon.ml

index bbaab13..078aa3a 100644 (file)
@@ -145,6 +145,7 @@ and proc_exit_daemon () =
   | Some s ->
     Rpc_server.stop_server ~graceful:true s;
     server := None;
+    Gc.compact (); (* force the server handle to get cleaned up now *)
     `ok
 
 and proc_get_jobs () =