summaryrefslogtreecommitdiff
path: root/lib/regex/interp.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex/interp.myr')
-rw-r--r--lib/regex/interp.myr3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/regex/interp.myr b/lib/regex/interp.myr
index c7e8514..2261de0 100644
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -164,7 +164,10 @@ const cleanup = {re
next = thr.next
thrfree(re, thr)
;;
+ re.runq = Zthr
+ re.expired = Zthr
re.nexttid = 0
+ re.nthr = 0
}
const matchfree = {m