From 973c1cc61b03c91c2141ae484b75a0d36a9c1e85 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 Aug 2018 10:49:15 -0400 Subject: [PATCH] explicitly drop connections from destructor --- libs/surfaces/launch_control_xl/launch_control_xl.cc | 2 ++ 1 file changed, 2 insertions(+) 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 ();