lite-xl/src
Jefferson González 77f412e7e8
Close lua state when exiting on a runtime error (#1487)
* Close lua state when exiting on a runtime error

* This change allows calling the garbage collector before exiting the
  application for a cleaner shutdown.
* Components like the shared memory object on #1486 will have a better
  chance at destroying no longer needed resources.

* Overriden os.exit to always close the state

* Allow setting close param on os.exit override

* Simplified the os.exit override a bit more

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>

---------

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-05-19 13:28:39 -04:00
..
api fix(process): check for HANDLE_INVALID (#1475) 2023-04-18 21:02:10 -04:00
bundle_open.m Takes kivutar's changes into account, cleaning things up slightly. 2021-12-15 20:31:24 -05:00
main.c Close lua state when exiting on a runtime error (#1487) 2023-05-19 13:28:39 -04:00
meson.build Add manifest on Windows (#1405) 2023-03-03 15:07:45 +01:00
rencache.c fix(rencache): fix compiler warning for printing size_t 2023-04-23 16:44:07 +08:00
rencache.h Improve text width calculation precision (#1408) 2023-03-09 10:48:46 -05:00
renderer.c fix(renderer): fix memory leak when freeing glyphsets 2023-05-16 21:18:04 +08:00
renderer.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-03-19 15:39:52 -04:00
renwindow.c Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-03-19 15:39:52 -04:00
renwindow.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-03-19 15:39:52 -04:00
unidata.h Update unidata to version 15.0 (#1122) 2022-09-19 21:27:54 -04:00
utfconv.h fix utfconv.h duplicate functions 2022-11-14 21:59:32 +08:00