joshualitt 2016-01-06 09:25:13 -08:00 committed by Commit bot
parent 53b1c09c13
commit 5b1dec7cde

View File

@ -37,6 +37,7 @@ private:
void exit() {
SkAutoMutexAcquire lock(fMutex);
SkASSERT(fOwner == SkGetThreadID());
fReentranceCount--;
if (fReentranceCount == 0) {
fOwner = kIllegalThreadID;