File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -788,12 +788,12 @@ impl<UserMacroTask> Runtime<UserMacroTask> {
788788 // This handles the case where a task completed so fast that the counter
789789 // was already decremented but the message is still in the channel
790790 let has_macro_task = self . try_handle_macro_task ( ) ;
791-
791+
792792 // Only exit if there are no pending tasks AND no message was processed
793793 if !has_macro_task && !self . host_hooks . any_pending_macro_tasks ( ) {
794794 break ;
795795 }
796-
796+
797797 // If we saw pending tasks but got no message, block waiting for one
798798 if !has_macro_task && self . host_hooks . any_pending_macro_tasks ( ) {
799799 self . handle_macro_task ( ) ;
@@ -859,7 +859,7 @@ impl<UserMacroTask> Runtime<UserMacroTask> {
859859 ) ;
860860 true
861861 }
862- _ => false
862+ _ => false ,
863863 }
864864 }
865865}
You can’t perform that action at this time.
0 commit comments