summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-08-07 10:49:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-08-07 10:49:15 -0400
commit973c1cc61b03c91c2141ae484b75a0d36a9c1e85 (patch)
tree2858f5b0096b3c22d92fb00ae02d14971267d263
parent120115aec0e66e018fc861e9a3f4141aff6e677b (diff)
explicitly drop connections from destructor
-rw-r--r--libs/surfaces/launch_control_xl/launch_control_xl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc
index fba08940dc..2a4c8ce2d6 100644
--- a/libs/surfaces/launch_control_xl/launch_control_xl.cc
+++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc
@@ -116,6 +116,8 @@ LaunchControlXL::~LaunchControlXL ()
/* do this before stopping the event loop, so that we don't get any notifications */
port_reg_connection.disconnect ();
port_connection.disconnect ();
+ session_connections.drop_connections ();
+ stripable_connections.drop_connections ();
stop_using_device ();
ports_release ();