mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-25 07:57:43 +01:00
prevent periodic auto-save from causing GUI deadlock waiting for the Locations lock to be released while export-ranges happens. this fix might be updated with a better one later.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3479 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0622d3c06a
commit
a64926234f
1 changed files with 8 additions and 0 deletions
|
|
@ -532,6 +532,14 @@ ARDOUR_UI::save_ardour_state ()
|
|||
gint
|
||||
ARDOUR_UI::autosave_session ()
|
||||
{
|
||||
if (g_main_depth() > 1) {
|
||||
/* inside a recursive main loop,
|
||||
give up because we may not be able to
|
||||
take a lock.
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!Config->get_periodic_safety_backups())
|
||||
return 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue