Don't crash on shutdown.

This commit is contained in:
JoelKatz
2013-04-21 17:19:41 -07:00
parent f5425bbfeb
commit 6bbef15e4d

View File

@@ -305,7 +305,7 @@ void JobQueue::threadEntry()
// }
}
if (mShuttingDown)
if (mJobSet.empty())
break;
JobType type;