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:
@@ -5126,7 +5126,7 @@ mch_start_job(char *cmd, job_T *job, jobopt_T *options)
|
|||||||
jo = NULL;
|
jo = NULL;
|
||||||
}
|
}
|
||||||
ResumeThread(pi.hThread);
|
ResumeThread(pi.hThread);
|
||||||
CloseHandle(job->jv_proc_info.hThread);
|
CloseHandle(pi.hThread);
|
||||||
job->jv_proc_info = pi;
|
job->jv_proc_info = pi;
|
||||||
job->jv_job_object = jo;
|
job->jv_job_object = jo;
|
||||||
job->jv_status = JOB_STARTED;
|
job->jv_status = JOB_STARTED;
|
||||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1530,
|
||||||
/**/
|
/**/
|
||||||
1529,
|
1529,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user