Skip to content

Commit

Permalink
fix(context): destroy federation before computing
Browse files Browse the repository at this point in the history
Signed-off-by: weiwee <wbwmat@gmail.com>
  • Loading branch information
sagewe committed Jan 16, 2023
1 parent bc8f647 commit ce428a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/fate/arch/context/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ def writer(self, uri, **kwargs):

def destroy(self):
try:
self.computing.destroy()
self.federation.destroy()
except:
logger.exception("computing engine close failed", stack_info=True)

try:
self.federation.destroy()
self.computing.destroy()
except:
logger.exception("computing engine close failed", stack_info=True)

0 comments on commit ce428a4

Please sign in to comment.