[PATCH] dbus: terminate cleanly on messagebus shutdown

Jouni Malinen j
Thu May 16 10:49:43 PDT 2013


On Thu, May 16, 2013 at 12:21:30AM -0400, Daniel Gnoutcheff wrote:
> By default, dbus_connection_dispatch() will call _exit() if the bus
> connection has been closed.  This caused wpa_supplicant to terminate
> without properly cleaning up after itself.
> 
> To ensure that we terminate cleanly when the messagebus terminates,
> override the exit_on_disconnect behavior and install a filter to handle
> libdbus's "Disconnected" signal.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list