We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118cb4e commit 1600aa3Copy full SHA for 1600aa3
src/hyperlight_host/src/func/guest_dispatch.rs
@@ -67,12 +67,13 @@ pub(crate) fn call_function_on_guest<WrapperGetterT: WrapperGetter>(
67
timedout = true;
68
match hv_handler.terminate_hypervisor_handler_execution_and_reinitialise(
69
wrapper_getter.get_mgr_wrapper_mut().unwrap_mgr_mut(),
70
- )? {
71
- HyperlightError::HypervisorHandlerExecutionCancelAttemptOnFinishedExecution() =>
72
- {}
+ ) {
+ Ok(
+ HyperlightError::HypervisorHandlerExecutionCancelAttemptOnFinishedExecution(),
73
+ ) => {}
74
// ^^^ do nothing, we just want to actually get the Flatbuffer return value
75
// from shared memory in this case
- e => return Err(e),
76
+ Ok(e) | Err(e) => return Err(e),
77
}
78
79
e => return Err(e),
0 commit comments