From: Jérémie Astor Date: Thu, 21 May 2020 23:34:23 +0000 (+0200) Subject: :bug: Fix spork ref X-Git-Tag: nightly~1527 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=00f523fe7fc9b27d2d4827436481efe463923c80;p=gwion.git :bug: Fix spork ref --- diff --git a/src/vm/vm.c b/src/vm/vm.c index 3e65d43f..1df6c21d 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -127,7 +127,6 @@ ANN static inline m_bool overflow_(const m_bit* mem, const VM_Shred c) { ANN static inline VM_Shred init_spork_shred(const VM_Shred shred, const VM_Code code) { const VM_Shred sh = new_shred_base(shred, code); vm_add_shred(shred->info->vm, sh); - vector_add(&shred->gc, (vtype)sh->info->me); sh->tick->parent = shred->tick; if(!shred->tick->child.ptr) vector_init(&shred->tick->child);