forked from Mirrorlandia_minetest/minetest
Fix double free bug when server is shut down
Thanks @oleastre
This commit is contained in:
@ -136,6 +136,7 @@ struct MapgenFactory {
|
|||||||
|
|
||||||
class GenElement {
|
class GenElement {
|
||||||
public:
|
public:
|
||||||
|
virtual ~GenElement() {}
|
||||||
u32 id;
|
u32 id;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user