diff --git a/xpcom/threads/nsProcessCommon.cpp b/xpcom/threads/nsProcessCommon.cpp index 6e5fa0207fe..57b0b271c14 100644 --- a/xpcom/threads/nsProcessCommon.cpp +++ b/xpcom/threads/nsProcessCommon.cpp @@ -287,6 +287,7 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count, } mExitValue = exitCode; CloseHandle(procInfo.hProcess); + CloseHandle(procInfo.hThread); } else status = PR_FAILURE;