Also call g_spawn_close_pid() when handling child processes

This commit is contained in:
Pierre Pronchery 2014-09-03 23:15:14 +02:00
parent 54da05dc27
commit bf1e85863b

View File

@ -270,6 +270,7 @@ static void _request_call_child_watch(GPid pid, gint status, gpointer data)
Phone * phone = data;
phone->source = 0;
g_spawn_close_pid(pid);
_helper_trigger(phone, MODEM_EVENT_TYPE_CONNECTION);
}