samyeyo / LuaRT

Open source Windows programming framework for Lua
https://www.luart.org
Other
285 stars 17 forks source link

Console close by user causes crash with wluart.exe and wluart-static.exe #32

Closed samyeyo closed 1 year ago

samyeyo commented 1 year ago

This is unrelated to LuaRT: on Windows, the allocated console can be closed by the user, causing the program to crash, with no time to fully pick up memory.

For now, the best option is to disable the close button on the console for desktop interpreters (as with versions of LuaRT prior to 1.1)

samyeyo commented 1 year ago

Fixed in LuaRT 1.2.0 ✅ (console window is no longer closeable)