Skip to content

Commit

Permalink
Appease the segfault gods
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Apr 6, 2021
1 parent 356cff5 commit 3e02993
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
else:
sys.stdout.write("Skipping coveralls\n")

# Graceful exit
standalone.uninitialize()
if os.name == "nt":
# Graceful exit, only Windows seems to like this consistently
standalone.uninitialize()

# Trust but verify
os._exit(0 if result.success else 1)

0 comments on commit 3e02993

Please sign in to comment.