File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -597,11 +597,15 @@ impl HypervisorHandler {
597
597
/// and still have to receive after sorting that out without sending
598
598
/// an extra message.
599
599
pub ( crate ) fn try_receive_handler_msg ( & self ) -> Result < ( ) > {
600
- match self
600
+ #[ cfg( gdb) ]
601
+ let response = self . communication_channels . from_handler_rx . recv ( ) ;
602
+ #[ cfg( not( gdb) ) ]
603
+ let response = self
601
604
. communication_channels
602
605
. from_handler_rx
603
- . recv_timeout ( self . execution_variables . get_timeout ( ) ?)
604
- {
606
+ . recv_timeout ( self . execution_variables . get_timeout ( ) ?) ;
607
+
608
+ match response {
605
609
Ok ( msg) => match msg {
606
610
HandlerMsg :: Error ( e) => Err ( e) ,
607
611
HandlerMsg :: FinishedHypervisorHandlerAction => Ok ( ( ) ) ,
You can’t perform that action at this time.
0 commit comments