diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 1c5a31658..0c270b928 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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; |