Fixed a handle leak.
This commit is contained in:
parent
abcc67055f
commit
fed569b883
|
@ -1464,6 +1464,7 @@ Pandora_Module::evaluateConditions () {
|
||||||
}
|
}
|
||||||
WaitForSingleObject(pi.hProcess, this->module_timeout);
|
WaitForSingleObject(pi.hProcess, this->module_timeout);
|
||||||
CloseHandle (pi.hProcess);
|
CloseHandle (pi.hProcess);
|
||||||
|
CloseHandle (pi.hThread);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue