Export terminate for facets

This commit is contained in:
Emery Hemingway 2022-12-07 22:38:33 -06:00
parent 947e560fb7
commit 17c7328be8
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ proc terminate(actor; turn; reason: ref Exception) =
callSoon:
run(actor.root, finish, true)
proc terminate(facet; e: ref Exception) =
proc terminate*(facet; e: ref Exception) =
run(facet.actor.root) do (turn: var Turn):
facet.actor.terminate(turn, e)