Make Thread Sanitizer happy.

This commit is contained in:
Damiano Galassi committed 2017-06-20 16:17:17 +02:00
1 parent 4f72d8aabd
commit ad673993f5
17 files changed
+89 -53

No files matched your search

+2 -2
View File
@@ -159,7 +159,7 @@ static int ParseByte(const char *string, UInt8 *byte, Boolean hex)
}
for (MP42TextSample *ccSample in sampleArray) {
if (_cancelled) {
if (self.isCancelled) {
break;
}
@@ -242,7 +242,7 @@ static int ParseByte(const char *string, UInt8 *byte, Boolean hex)
[sample release];
i++;
_progress = ((CGFloat)i / sampleArray.count) * 100;
self.progress = ((CGFloat)i / sampleArray.count) * 100;
}
[sampleArray release];