comparison src/eval.c @ 11804:5630978ae089 v8.0.0784

patch 8.0.0784: job of terminal may be garbage collected commit https://github.com/vim/vim/commit/a2c45a17c174d815fd1d160f92ec6c277201e111 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 27 22:14:59 2017 +0200 patch 8.0.0784: job of terminal may be garbage collected Problem: Job of terminal may be garbage collected. Solution: Set copyID on job in terminal. (Ozaki Kiichi)
author Christian Brabandt <cb@256bit.org>
date Thu, 27 Jul 2017 22:30:04 +0200
parents 162bcd0debd7
children f5968ca369b5
comparison
equal deleted inserted replaced
11803:2b560ad4ffce 11804:5630978ae089
5327 5327
5328 #ifdef FEAT_QUICKFIX 5328 #ifdef FEAT_QUICKFIX
5329 abort = abort || set_ref_in_quickfix(copyID); 5329 abort = abort || set_ref_in_quickfix(copyID);
5330 #endif 5330 #endif
5331 5331
5332 #ifdef FEAT_TERMINAL
5333 abort = abort || set_ref_in_term(copyID);
5334 #endif
5335
5332 if (!abort) 5336 if (!abort)
5333 { 5337 {
5334 /* 5338 /*
5335 * 2. Free lists and dictionaries that are not referenced. 5339 * 2. Free lists and dictionaries that are not referenced.
5336 */ 5340 */