2005-03-15 Ray Strode <rstrode@redhat.com>
* src/NetworkManager.c: (sigterm_pipe_handler): remove bogus FIXME git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@500 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2005-03-15 Ray Strode <rstrode@redhat.com>
|
||||||
|
|
||||||
|
* src/NetworkManager.c:
|
||||||
|
(sigterm_pipe_handler):
|
||||||
|
remove bogus FIXME
|
||||||
|
|
||||||
2005-03-15 Ray Strode <rstrode@redhat.com>
|
2005-03-15 Ray Strode <rstrode@redhat.com>
|
||||||
|
|
||||||
* src/NetworkManagerDbus.c:
|
* src/NetworkManagerDbus.c:
|
||||||
|
@@ -526,12 +526,6 @@ static gboolean sigterm_pipe_handler (GIOChannel *src, GIOCondition condition, g
|
|||||||
{
|
{
|
||||||
NMData *data = user_data;
|
NMData *data = user_data;
|
||||||
|
|
||||||
/* FIXME: These lines are definitely not great
|
|
||||||
* things to have in a signal handler
|
|
||||||
*
|
|
||||||
* The fix is to have a pipe that non-signal handling
|
|
||||||
* code can watch and respond to.
|
|
||||||
*/
|
|
||||||
nm_info ("Caught terminiation signal");
|
nm_info ("Caught terminiation signal");
|
||||||
if (data->active_device)
|
if (data->active_device)
|
||||||
nm_device_deactivate (data->active_device, FALSE);
|
nm_device_deactivate (data->active_device, FALSE);
|
||||||
|
Reference in New Issue
Block a user