git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8583 8c9fc860-2736-0410-a75d-ab315db34111
@@ -204,7 +204,7 @@ TYPE
END;
contextPos := gcContext.nextPos;
-
+ IF contextPos < 0 THEN RETURN END; (* this thread is currently not active in A2 *)
(* stack garbage collection *)
IF Heaps.GCType= Heaps.HeuristicStackInspectionGC THEN