mirror of
https://github.com/minetest/minetest.git
synced 2025-08-14 12:00:22 +02:00
Fix memory leak by dropping sky
This commit is contained in:
@ -3334,6 +3334,8 @@ void the_game(
|
|||||||
clouds->drop();
|
clouds->drop();
|
||||||
if (gui_chat_console)
|
if (gui_chat_console)
|
||||||
gui_chat_console->drop();
|
gui_chat_console->drop();
|
||||||
|
if (sky)
|
||||||
|
sky->drop();
|
||||||
clear_particles();
|
clear_particles();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user