mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
Fix memory leak by dropping sky
This commit is contained in:
parent
81c863ac4d
commit
782d06be46
@ -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();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user