L: prevent crash at shutdown (amend f74dbbeb25
)
This commit is contained in:
parent
19fe832a2c
commit
0518405432
@ -998,7 +998,7 @@ ARDOUR_UI::save_ardour_state ()
|
||||
}
|
||||
|
||||
main_window_node.set_property (X_("current-tab"), current_tab);
|
||||
#endif
|
||||
|
||||
|
||||
/* Windows */
|
||||
|
||||
@ -1011,6 +1011,7 @@ ARDOUR_UI::save_ardour_state ()
|
||||
tearoff_node->add_child_nocopy (*t);
|
||||
|
||||
window_node->add_child_nocopy (*tearoff_node);
|
||||
#endif
|
||||
|
||||
/* store clock modes */
|
||||
XMLNode* cnode = new XMLNode(X_("ClockModes"));
|
||||
@ -1027,7 +1028,9 @@ ARDOUR_UI::save_ardour_state ()
|
||||
|
||||
Config->save_state();
|
||||
|
||||
mixer->save_plugin_order_file();
|
||||
if (mixer) {
|
||||
mixer->save_plugin_order_file();
|
||||
}
|
||||
|
||||
UIConfiguration::instance().save_state ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user