1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-24 23:13:42 +02:00

Applying Paul's fix for bug #818

While I didn't see the crash in action, the patch definitely
fixes the possibility of one.
This commit is contained in:
lllucius
2015-01-20 06:34:55 +00:00
parent 45c5bdfa45
commit 09c213feed
2 changed files with 10 additions and 6 deletions

View File

@@ -71,9 +71,9 @@ class DirManager: public XMLTagHandler {
sampleCount aliasLen, int aliasChannel, int decodeType);
/// Returns true if the blockfile pointed to by b is contained by the DirManager
bool ContainsBlockFile(BlockFile *b);
bool ContainsBlockFile(BlockFile *b) const;
/// Check for existing using filename using complete filename
bool ContainsBlockFile(wxString filepath);
bool ContainsBlockFile(wxString filepath) const;
// Adds one to the reference count of the block file,
// UNLESS it is "locked", then it makes a new copy of