mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1722
Problem: Crash when calling garbagecollect() after starting a job. Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki Kiichi)
This commit is contained in:
parent
939a1abe93
commit
0239acb11f
@ -7326,6 +7326,7 @@ set_ref_in_item(
|
||||
|
||||
if (job != NULL && job->jv_copyID != copyID)
|
||||
{
|
||||
job->jv_copyID = copyID;
|
||||
if (job->jv_channel != NULL)
|
||||
{
|
||||
dtv.v_type = VAR_CHANNEL;
|
||||
@ -7350,6 +7351,7 @@ set_ref_in_item(
|
||||
|
||||
if (ch != NULL && ch->ch_copyID != copyID)
|
||||
{
|
||||
ch->ch_copyID = copyID;
|
||||
for (part = PART_SOCK; part <= PART_IN; ++part)
|
||||
{
|
||||
for (jq = ch->ch_part[part].ch_json_head.jq_next; jq != NULL;
|
||||
|
@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1722,
|
||||
/**/
|
||||
1721,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user