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:
Carl Hetherington 2012-06-28 16:08:48 +00:00
parent 4904a20577
commit 81de53da1d
1 changed files with 2 additions and 0 deletions

View File

@ -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> ();
}