mirror of
https://github.com/minetest/minetest.git
synced 2024-11-29 19:13:44 +01:00
Fix small memory leaks in client. (#7492)
This commit is contained in:
parent
ea86ecf015
commit
e66d5e500c
@ -230,6 +230,8 @@ Client::~Client()
|
||||
m_shutdown = true;
|
||||
m_con.Disconnect();
|
||||
|
||||
deleteAuthData();
|
||||
|
||||
m_mesh_update_thread.stop();
|
||||
m_mesh_update_thread.wait();
|
||||
while (!m_mesh_update_thread.m_queue_out.empty()) {
|
||||
@ -257,6 +259,7 @@ Client::~Client()
|
||||
}
|
||||
|
||||
delete m_minimap;
|
||||
delete m_media_downloader;
|
||||
}
|
||||
|
||||
void Client::connect(Address address, bool is_local_server)
|
||||
|
Loading…
Reference in New Issue
Block a user