summaryrefslogtreecommitdiffstats
path: root/serial/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial/manager.c')
-rw-r--r--serial/manager.c2
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);
}