Browse Source

fix: 修复import-belong被两次delReference的问题

SongZihuan 3 years ago
parent
commit
c5ee05c22c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/core/env.c

+ 0 - 1
src/core/env.c

@@ -589,7 +589,6 @@ static void mp_IMPORT(af_Message *msg, bool is_gc, af_Environment *env) {
         return;
     }
 
-    gc_delReference(ii->obj);
     if (ii->mark != NULL) {
         makeVarToProtectVarSpace(ii->mark, 3, 3, 3, ii->obj, env);
         printf("IMPORT point: [%s] %p \n", ii->mark, ii->obj);