Repair error: an End was missing

This commit is contained in:
Tony Garnock-Jones 2019-06-13 12:50:55 +01:00
parent c17eb4caa0
commit 2512d68852
1 changed files with 2 additions and 1 deletions

View File

@ -408,7 +408,8 @@
(err! 'nonexistent-endpoint item)]
[localid
(link-subs (hash-remove (link-subs) subid))
(unsubscribe! localid linkid)])]
(unsubscribe! localid linkid)])
(extend-turn! turn (End subid))]
[(End localid)
(for [(captures (in-set (hash-ref (link-matches) localid set)))]
(remove-match! localid captures linkid))