Prevent windows process enumerator from listing the same process twice

develop
Petr Mrázek 2010-03-09 15:21:53 +01:00
parent f0087926c5
commit 7207996940
1 changed files with 2 additions and 0 deletions

@ -85,6 +85,7 @@ bool ProcessEnumerator::findProcessess()
if(p->isIdentified()) if(p->isIdentified())
{ {
d->processes.push_back(p); d->processes.push_back(p);
continue;
} }
else else
{ {
@ -95,6 +96,7 @@ bool ProcessEnumerator::findProcessess()
if(p->isIdentified()) if(p->isIdentified())
{ {
d->processes.push_back(p); d->processes.push_back(p);
continue;
} }
else else
{ {