#217 close log files on exit (including crash)

This commit is contained in:
Mikayla Fischler
2023-04-20 21:00:10 -04:00
parent e9788abde7
commit 5db517cedc
7 changed files with 49 additions and 33 deletions

View File

@@ -39,6 +39,7 @@ end
-- final error print on failed xpcall, app exits here
function crash.exit()
log.close()
util.println("fatal error occured in main application:")
error(err, 0)
end