Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 26, 2023
1 parent 0c8b761 commit 2fc3740
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ def main(
print("note: Run mypy again for up-to-date results with installed types")
code = 2

if options.fast_exit:
# Exit without freeing objects -- it's faster.
#
# NOTE: We don't flush all open files on exit (or run other destructors)!
util.hard_exit(code)
elif code:
sys.exit(code)

# HACK: keep res alive so that mypyc won't free it before the hard_exit
list([res])

Expand Down

0 comments on commit 2fc3740

Please sign in to comment.