blob: 5539944afe5c48728ca57e05079a4109890fd9da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-aa,v 1.3 2002/10/04 08:59:35 jlam Exp $
--- WaveTrack.cpp.orig Wed Jun 5 00:51:19 2002
+++ WaveTrack.cpp
@@ -907,7 +907,9 @@ bool WaveTrack::Load(wxTextFile * in, Di
numSamples = 0;
block->Clear();
+#if wxUSE_THREADS
blockMutex->Unlock();
+#endif
wxString msg;
msg.Printf("One or more data files is missing from this project.");
@@ -919,7 +921,9 @@ bool WaveTrack::Load(wxTextFile * in, Di
block->Add(w);
}
+#if wxUSE_THREADS
blockMutex->Unlock();
+#endif
return true;
|