Skip to content

Commit

Permalink
[Fixbug] Set _is_exiting correctly (#163)
Browse files Browse the repository at this point in the history
The current exit hook is a no-op
  • Loading branch information
jacklee1792 authored and vadiklyutiy committed Jul 22, 2024
1 parent e4a0386 commit 43ec055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/hidet/utils/exiting.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def is_exiting():


def _at_exit():
global _is_exiting
_is_exiting = True


Expand Down

0 comments on commit 43ec055

Please sign in to comment.