mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-11 05:53:49 +08:00
Fix interface removal on script exit.
This commit is contained in:
parent
da7741d542
commit
f3314791b1
@ -89,11 +89,8 @@ static void script_exited(GPid pid, gint status, gpointer data)
|
||||
else
|
||||
debug("%d was killed by signal %d", pid, WTERMSIG(status));
|
||||
|
||||
g_spawn_close_pid(pid);
|
||||
pid = 0;
|
||||
|
||||
g_free(bnep->devname);
|
||||
pids = g_slist_remove(pids, bnep);
|
||||
g_spawn_close_pid(bnep->pid);
|
||||
bnep->pid = 0;
|
||||
}
|
||||
|
||||
uint16_t bnep_service_id(const char *svc)
|
||||
|
Loading…
Reference in New Issue
Block a user