This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/gui/dialogues
Tamás Bálint Misius b99914bac5
Fix crash from Lua prompts when exiting the game completely
The problem is that Engine outlives GameController and thus also LuaScriptInterface. The solution is to not try to access LSI's lua_State if it doesn't exist; this is the case in Engine's dtor.

This is ugly as hell and the root of the problem is the cursed ownership model of LuaComponents and Windows by Engine, which I don't think I'll be fixing any time soon.
2023-09-14 19:58:59 +02:00
..
ConfirmPrompt.cpp Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00
ConfirmPrompt.h Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00
ErrorMessage.cpp Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00
ErrorMessage.h Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00
InformationMessage.cpp Emscripten: Remove direct blocking prompt calls from Lua 2023-08-22 00:26:31 +02:00
InformationMessage.h Emscripten: Remove direct blocking prompt calls from Lua 2023-08-22 00:26:31 +02:00
meson.build Mesonification 2020-12-14 20:16:52 +01:00
SaveIDMessage.cpp Use _rgb literals where possible 2023-04-30 14:22:56 +02:00
SaveIDMessage.h Preprocessor purge round 2: #pragma once 2023-01-27 09:26:38 +01:00
TextPrompt.cpp Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00
TextPrompt.h Emscripten: Remove blocking prompt functions 2023-08-22 00:26:31 +02:00