Skip to content

Commit a91403e

Browse files
committed
The LEOS atexit logic is no longer necessary (and didn't work anymore)
since I moved the LEOS::shutdown() command into the LEOS_bundle destructor. Good catch by Landon.
1 parent cdb4367 commit a91403e

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/SimulationControl/Spheral.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,6 @@
130130
# ------------------------------------------------------------------------------
131131
# EasyProfilerStart()
132132

133-
# ------------------------------------------------------------------------------
134-
# Stuff to do on exit
135-
# ------------------------------------------------------------------------------
136-
try:
137-
atexit.register(LEOS_bundle.finalize)
138-
except:
139-
pass
140-
141133
# ------------------------------------------------------------------------------
142134
# Output some useful Spheral configuration info to stdout
143135
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)