From 49426a602fcb2a0e9181b16c0a8965dbf7b79537 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 28 Oct 2023 23:04:39 +0200 Subject: [PATCH] Console1: Clean up previous commit --- libs/surfaces/console1/console1.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/surfaces/console1/console1.cc b/libs/surfaces/console1/console1.cc index ad44fb28cb..6671156009 100644 --- a/libs/surfaces/console1/console1.cc +++ b/libs/surfaces/console1/console1.cc @@ -198,12 +198,9 @@ int Console1::stop_using_device () { DEBUG_TRACE (DEBUG::Console1, "stop_using_device()\n"); - if (!_in_use) - return 0; blink_connection.disconnect (); periodic_connection.disconnect (); stripable_connections.drop_connections (); - session_connections.drop_connections (); console1_connections.drop_connections (); MIDISurface::stop_using_device (); return 0;