Mercurial > vim
comparison src/eval.c @ 9058:87c2e43a4a12 v7.4.1814
commit https://github.com/vim/vim/commit/b8d4905592fc26fcd09180d7d6bfefd899f2f6c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 1 14:22:16 2016 +0200
patch 7.4.1814
Problem: A channel may be garbage collected while it's still being used by
a job. (James McCoy)
Solution: Mark the channel as used if the job is still used. Do the same
for channels that are still used.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 01 May 2016 14:30:06 +0200 |
parents | 3a6b66c02d6d |
children | 0aa90b84118c |
comparison
equal
deleted
inserted
replaced
9057:93d6f07403ae | 9058:87c2e43a4a12 |
---|---|
7022 abort = abort || set_ref_in_python3(copyID); | 7022 abort = abort || set_ref_in_python3(copyID); |
7023 #endif | 7023 #endif |
7024 | 7024 |
7025 #ifdef FEAT_JOB_CHANNEL | 7025 #ifdef FEAT_JOB_CHANNEL |
7026 abort = abort || set_ref_in_channel(copyID); | 7026 abort = abort || set_ref_in_channel(copyID); |
7027 abort = abort || set_ref_in_job(copyID); | |
7027 #endif | 7028 #endif |
7028 #ifdef FEAT_NETBEANS_INTG | 7029 #ifdef FEAT_NETBEANS_INTG |
7029 abort = abort || set_ref_in_nb_channel(copyID); | 7030 abort = abort || set_ref_in_nb_channel(copyID); |
7030 #endif | 7031 #endif |
7031 | 7032 |