From 7fe91a7d1cc6d8914d2010d2a393450a78671ae4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 18 Sep 2016 10:03:37 +0200 Subject: [PATCH] fix another crash at exit #7033 Don't construct the bindings editor only to disconnect its signals --- gtk2_ardour/ardour_ui.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 6c349260f7..7a59569254 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1324,7 +1324,9 @@ If you still wish to quit, please use the\n\n\ */ save_ardour_state (); - key_editor->disconnect (); + if (key_editor.get (false)) { + key_editor->disconnect (); + } close_all_dialogs ();