diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-06 01:20:42 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-06 01:20:42 +0000 |
commit | 6dd473cb823393b9dbfc370d64a039411664372d (patch) | |
tree | 8ceffb79cc43a2dfcae13926db7cb4a9ac3873af /serial/manager.c | |
parent | d78c8f2dce3e97c62e71e07a5f78f1289db1dd58 (diff) |
Remove all serial ports on shutdown
Diffstat (limited to 'serial/manager.c')
-rw-r--r-- | serial/manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/serial/manager.c b/serial/manager.c index 2bb1ce84..d0a21ce6 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -2295,6 +2295,8 @@ void serial_manager_exit(void) dbus_connection_unref(connection); connection = NULL; + port_release_all(); + if (rfcomm_ctl >= 0) close(rfcomm_ctl); } |