mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
push2: cleanup layouts
This commit is contained in:
parent
14d80ec5f8
commit
8e63685724
1 changed files with 7 additions and 0 deletions
|
|
@ -303,6 +303,13 @@ Push2::close ()
|
|||
periodic_connection.disconnect ();
|
||||
session_connections.drop_connections ();
|
||||
|
||||
_current_layout = 0;
|
||||
drawn_layout = 0;
|
||||
delete mix_layout;
|
||||
mix_layout = 0;
|
||||
delete scale_layout;
|
||||
scale_layout = 0;
|
||||
|
||||
if (handle) {
|
||||
libusb_release_interface (handle, 0x00);
|
||||
libusb_close (handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue