diff --git a/modules/app_store/app_store/Cargo.lock b/modules/app_store/app_store/Cargo.lock index 36c26a1d..a17e06c5 100644 --- a/modules/app_store/app_store/Cargo.lock +++ b/modules/app_store/app_store/Cargo.lock @@ -423,7 +423,7 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "uqbar_process_lib" version = "0.4.0" -source = "git+ssh://git@github.com/uqbar-dao/process_lib.git?rev=c23c423#c23c4236e1054632fc1b159b959789ce8d1250d9" +source = "git+ssh://git@github.com/uqbar-dao/process_lib.git?rev=ee1768c#ee1768cb616a795c4858b144f04e6070410937d2" dependencies = [ "anyhow", "bincode", diff --git a/modules/app_store/app_store/Cargo.toml b/modules/app_store/app_store/Cargo.toml index 04ba2af5..bc1b2918 100644 --- a/modules/app_store/app_store/Cargo.toml +++ b/modules/app_store/app_store/Cargo.toml @@ -17,7 +17,7 @@ rand = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha2 = "0.10.8" -uqbar_process_lib = { git = "ssh://git@github.com/uqbar-dao/process_lib.git", rev = "c23c423" } +uqbar_process_lib = { git = "ssh://git@github.com/uqbar-dao/process_lib.git", rev = "ee1768c" } wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "efcc759" } [lib] diff --git a/src/state.rs b/src/state.rs index 4779fad2..01c5e5de 100644 --- a/src/state.rs +++ b/src/state.rs @@ -321,7 +321,7 @@ async fn bootstrap( .entry(ProcessId::from_str("kernel:sys:uqbar").unwrap()) .or_insert(PersistedProcess { wasm_bytes_handle: "".into(), - on_panic: OnPanic::Restart, + on_exit: OnExit::Restart, capabilities: runtime_caps.clone(), public: false, }); @@ -329,7 +329,7 @@ async fn bootstrap( .entry(ProcessId::from_str("net:sys:uqbar").unwrap()) .or_insert(PersistedProcess { wasm_bytes_handle: "".into(), - on_panic: OnPanic::Restart, + on_exit: OnExit::Restart, capabilities: runtime_caps.clone(), public: false, }); @@ -338,7 +338,7 @@ async fn bootstrap( .entry(runtime_module.0) .or_insert(PersistedProcess { wasm_bytes_handle: "".into(), - on_panic: OnPanic::Restart, + on_exit: OnExit::Restart, capabilities: runtime_caps.clone(), public: runtime_module.2, }); @@ -581,7 +581,7 @@ async fn bootstrap( ProcessId::new(Some(&entry.process_name), package_name, package_publisher), PersistedProcess { wasm_bytes_handle, - on_panic: entry.on_panic, + on_exit: entry.on_exit, capabilities: requested_caps, public: public_process, },