Discard actor from bootDataspace
This commit is contained in:
parent
83e26352dc
commit
818c23f025
|
@ -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)
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "20230608"
|
||||
version = "20230701"
|
||||
author = "Emery Hemingway"
|
||||
description = "Utilites for Syndicated Actors and Synit"
|
||||
license = "unlicense"
|
||||
|
|
Loading…
Reference in New Issue