1
0
forked from aniani/vim

patch 7.4.1530

Problem:    MS-Windows job_start() closes wrong handle.
Solution:   Close hThread on the process info. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-03-10 16:33:31 +01:00
parent 29fd03878c
commit 75578a388d
2 changed files with 3 additions and 1 deletions

View File

@@ -5126,7 +5126,7 @@ mch_start_job(char *cmd, job_T *job, jobopt_T *options)
jo = NULL;
}
ResumeThread(pi.hThread);
CloseHandle(job->jv_proc_info.hThread);
CloseHandle(pi.hThread);
job->jv_proc_info = pi;
job->jv_job_object = jo;
job->jv_status = JOB_STARTED;

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1530,
/**/
1529,
/**/