1
0

Compare commits

...

4 Commits

Author SHA1 Message Date
acbd75d2bc Set event receiver to null before the receiver object is deleted
* Merge branch 'master' into minenux
2024-06-03 11:32:32 -04:00
532c187d83 Set event receiver to null before the receiver object is deleted
* backported bbcee42264
2024-06-03 11:23:48 -04:00
17cb07a366 formspec_escape stability improvement
* formspec_escape causes server crash, when text argument is a number.
  the `tostring(text)` prevents this
* backported https://github.com/MultiCraft/MultiCraft/pull/87
2024-06-03 09:41:55 -04:00
ce35eb4122 dont show the register confirmation, try to connect as fast as possible
* this is a security risk, but also a easy step.. the easy of use
  is a key to create a anarchy environment where people must learn
  to take care by itselft
2024-06-03 09:26:57 -04:00

View File

@ -70,6 +70,11 @@ static void dump_start_data(const GameStartData &data)
ClientLauncher::~ClientLauncher()
{
RenderingEngine *rendering_engine = RenderingEngine::get_instance();
if (rendering_engine && rendering_engine->get_raw_device())
rendering_engine->get_raw_device()->setEventReceiver(nullptr);
delete receiver;
delete input;
@ -77,7 +82,7 @@ ClientLauncher::~ClientLauncher()
delete g_fontengine;
delete g_gamecallback;
delete RenderingEngine::get_instance();
delete rendering_engine;
#if USE_SOUND
deleteSoundManagerSingleton(g_sound_manager_singleton);