2005-01-09 Dan Williams <dcbw@redhat.com>
* dhcpcd/client.c - Use correct timeout value * info-daemon/NetworkManagerInfoDbus.c src/NetworkManagerDbus.c - Consolidate communication between NM and NMI by doing only 1 dbus method call to get Wireless Network info from NMI instead of 6 * src/NetworkManager.c - Make sure to cancel activation when we receive a SIGTERM, otherwise when we didn't have an AP to use, we'd wait for one forever without quitting * src/NetworkManagerDevice.c - nm_device_activation_cancel(): Fix a race between dhcp and quitting activation, dhcp might not have started yet but we don't quit activation before starting it, so the quit signal gets lost git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@363 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -621,6 +621,8 @@ static gboolean sigterm_pipe_handler (GIOChannel *src, GIOCondition condition, g
|
||||
{
|
||||
NMData *data = user_data;
|
||||
syslog (LOG_NOTICE, "Caught terminiation signal");
|
||||
if (data->active_device && nm_device_is_activating (data->active_device))
|
||||
nm_device_activation_cancel (data->active_device);
|
||||
g_main_loop_quit (data->main_loop);
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user