From 75578a388d2aff59dc330ceccd8894c79b4bc735 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 10 Mar 2016 16:33:31 +0100 Subject: [PATCH] patch 7.4.1530 Problem: MS-Windows job_start() closes wrong handle. Solution: Close hThread on the process info. (Ken Takata) --- src/os_win32.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/os_win32.c b/src/os_win32.c index a59cad2ca..50c242878 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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; diff --git a/src/version.c b/src/version.c index c71133e91..e1ee16dce 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1530, /**/ 1529, /**/ -- 2.50.1