Introduce a facet immediately under the root facet for user code to run in, to allow something akin to replacement of the root facet
This commit is contained in:
parent
cd951e18a0
commit
a252cfdfdf
|
@ -1095,8 +1095,7 @@ impl Actor {
|
|||
tokio::spawn(async move {
|
||||
tracing::trace!("start");
|
||||
self.run(|t| {
|
||||
boot(t)?;
|
||||
t.stop_if_inert();
|
||||
t.facet(boot)?;
|
||||
Ok(())
|
||||
}).await;
|
||||
let result = self.ac_ref.exit_status().expect("terminated");
|
||||
|
|
Loading…
Reference in New Issue