Skip to content

Commit 75578a3

Browse files
committed
patch 7.4.1530
Problem: MS-Windows job_start() closes wrong handle. Solution: Close hThread on the process info. (Ken Takata)
1 parent 29fd038 commit 75578a3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/os_win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5126,7 +5126,7 @@ mch_start_job(char *cmd, job_T *job, jobopt_T *options)
51265126
jo = NULL;
51275127
}
51285128
ResumeThread(pi.hThread);
5129-
CloseHandle(job->jv_proc_info.hThread);
5129+
CloseHandle(pi.hThread);
51305130
job->jv_proc_info = pi;
51315131
job->jv_job_object = jo;
51325132
job->jv_status = JOB_STARTED;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1530,
746748
/**/
747749
1529,
748750
/**/

0 commit comments

Comments
 (0)