try to fix SERVER-2501

This commit is contained in:
Eliot Horowitz
2011-02-10 15:33:30 -05:00
parent 6fccb3bca4
commit 1041ffd623

View File

@@ -602,6 +602,9 @@ namespace mongo {
DWORD tmp;
if(GetExitCodeProcess(h, &tmp)) {
if ( tmp == STILL_ACTIVE ) {
return false;
}
CloseHandle(h);
handles.erase(pid);
if (exit_code)