lite-xl/src
Jefferson González 39182d49d6 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 15:26:38 +01:00
..
api fix(process): check for HANDLE_INVALID (#1475) 2023-08-07 15:26:38 +01:00
platform Prepare 2.1.1r1 release 2023-01-29 12:58:56 +00: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-08-07 15:26:38 +01:00
meson.build Add manifest on Windows (#1405) 2023-08-07 15:25:30 +01:00
rencache.c fix(rencache): fix compiler warning for printing size_t 2023-08-07 15:26:38 +01:00
rencache.h Improve text width calculation precision (#1408) 2023-08-07 15:25:46 +01:00
renderer.c fix(renderer): fix memory leak when freeing glyphsets 2023-08-07 15:26:38 +01:00
renderer.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 15:26:06 +01:00
renwindow.c Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 15:26:06 +01:00
renwindow.h Aggregate `SDL_Surface`s and their scale in `RenSurface` (#1429) 2023-08-07 15:26:06 +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