Discard actor from bootDataspace

This commit is contained in:
Emery Hemingway 2023-07-01 15:59:18 +01:00
parent 83e26352dc
commit 818c23f025
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ proc runChild: string =
proc translate(output: string): Assertion =
var js: JsonNode
try: js = parseJson output
except:
except CatchableError:
stderr.writeLine "parseJson failed"
quit 1
js.toPreserveHook(Ref)

View File

@ -16,7 +16,7 @@ proc envStep: Preserve[Ref] =
proc main =
let label = getAppFilename().extractFilename
bootDataspace(label) do (root: Ref; turn: var Turn):
discard bootDataspace(label) do (root: Ref; turn: var Turn):
connect(turn, unixSocketPath(), envStep()) do (turn: var Turn; ds: Ref):
message(turn, ds, initRecord(label, map(commandLineParams(), parsePreserves)))

View File

@ -1,6 +1,6 @@
# Package
version = "20230608"
version = "20230701"
author = "Emery Hemingway"
description = "Utilites for Syndicated Actors and Synit"
license = "unlicense"