mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01: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