commit | 65edff8f51e9e54f85407bdb9156ae8e3e1b76a1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 16:40:11 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 16:40:11 2016 +0100 |
tree | 6982c12c67d2e65ed987df609968f647585d18eb | |
parent | 08298fa1d3e32c2af476582792fc4f70cd57a59a [diff] [blame] |
patch 7.4.1378 Problem: Can't change job settings after it started. Solution: Add job_setoptions() with the "stoponexit" flag.
diff --git a/src/main.c b/src/main.c index fac4be1..57aeeed 100644 --- a/src/main.c +++ b/src/main.c
@@ -1486,6 +1486,9 @@ windgoto((int)Rows - 1, 0); #endif +#ifdef FEAT_JOB + job_stop_on_exit(); +#endif #ifdef FEAT_LUA lua_end(); #endif