diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-28 16:08:48 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-28 16:08:48 +0000 |
commit | 81de53da1d82244ec589d6d65a5739b3022828c7 (patch) | |
tree | 565db06f5e56703a5ca0371e69966667f98c71bc /libs | |
parent | 4904a20577d492c79c32e91a1835ab3fa4a53018 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 062d07ec26..47d76ff150 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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> (); } |