Maintain a form across query executions
I'm doing a bit of REPLing around a forms based component, but I'd like to maintain the form between query executions.
let f = Util.Cache(fun _ -> new Form())
f |> Dump //cannot access a disposed object on 2nd query run
The form shows on first query execution no problem.
But it is killed when the query is run a second time and the form becomes disposed.
(btw, my always use fresh processes setting is false)
Can it be done ?