Skip to content

Commit

Permalink
Fix LauncherExecutor handle_event (#2414)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanTingHsieh committed Mar 19, 2024
1 parent 5b88e43 commit cd9237f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvflare/app_common/executors/launcher_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def handle_event(self, event_type: str, fl_ctx: FLContext) -> None:
self.finalize(fl_ctx)
self.log_info(fl_ctx, f"{EventType.END_RUN} event received - telling external to stop")
super().handle_event(event_type, fl_ctx)
else:
super().handle_event(event_type, fl_ctx)

def execute(self, task_name: str, shareable: Shareable, fl_ctx: FLContext, abort_signal: Signal) -> Shareable:
self.log_info(fl_ctx, f"execute for task ({task_name})")
Expand Down

0 comments on commit cd9237f

Please sign in to comment.