lite-xl/src
Jefferson González 35647067d8 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-08-07 14:50:59 +01:00
..
api fix(process): check for HANDLE_INVALID (#1475) 2023-08-07 14:50:59 +01:00
bundle_open.m Takes kivutar's changes into account, cleaning things up slightly. 2021-12-15 20:31:24 -05:00
dirmonitor.o innosetup changes 2023-01-08 20:52:15 +00:00
main.c Close lua state when exiting on a runtime error (#1487) 2023-08-07 14:50:59 +01:00
meson.build Add manifest on Windows (#1405) 2023-08-07 14:50:58 +01:00
rencache.c fix(rencache): fix compiler warning for printing size_t 2023-08-07 14:50:59 +01:00
rencache.h Improve text width calculation precision (#1408) 2023-08-07 14:50:58 +01:00
renderer.c fix(renderer): fix memory leak when freeing glyphsets 2023-08-07 14:50:59 +01:00
renderer.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 14:50:58 +01:00
renwindow.c Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 14:50:58 +01:00
renwindow.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 14:50:58 +01: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