diff --git a/nemo-wasm/src/lib.rs b/nemo-wasm/src/lib.rs index 0b9738eb..70ca1fff 100644 --- a/nemo-wasm/src/lib.rs +++ b/nemo-wasm/src/lib.rs @@ -282,7 +282,7 @@ impl NemoEngine { }; let import_manager = ImportManager::new(resource_providers); - let engine = ExecutionEngine::initialize(&program.0, import_manager) + let engine = ExecutionEngine::initialize(program.0.clone(), import_manager) .map_err(WasmOrInternalNemoError::Nemo) .map_err(NemoError)?;