pub fn close_wasm(&self, wasm_id: WasmId) {
        let mut guard = self.repr.lock().unwrap();
        let removed = guard.canister_wasms.remove(&wasm_id);
        assert!(
            removed.is_some(),
            "Failed to close wasm session {}: id not found",
            wasm_id
        );
    }
/// Closes previously opened wasm instance, by id.
Closes previously opened wasm instance, by id.
Closes previously opened wasm instance by id .
pub fn close_wasm(&self, wasm_id: WasmId) {
        let mut guard = self.repr.lock().unwrap();
        let removed = guard.canister_wasms.remove(&wasm_id);
        assert!(
            removed.is_some(),
            "Failed to close wasm session {}: id not found",
            wasm_id
        );
    }
pub fn close_wasm ( & self , wasm_id : WasmId ) { let mut guard = self . repr . lock ( ) . unwrap ( ) ; let removed = guard . canister_wasms . remove ( & wasm_id ) ; assert ! ( removed is_some ( ) " " wasm_id ) ; }
Closes previously opened wasm instance, by id.
Closes previously opened wasm instance by id .
&self
wasm_id
WasmId
&self
wasm_id
WasmId