Fix missing lock causing erroneous disk space reports when dragging audio clocks.
git-svn-id: svn://localhost/ardour2/branches/3.0@12961 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4904a20577
commit
81de53da1d
@ -3514,6 +3514,8 @@ Session::graph_reordered ()
|
||||
boost::optional<framecnt_t>
|
||||
Session::available_capture_duration ()
|
||||
{
|
||||
Glib::Mutex::Lock lm (space_lock);
|
||||
|
||||
if (_total_free_4k_blocks_uncertain) {
|
||||
return boost::optional<framecnt_t> ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user