mirror of
https://github.com/edubart/otclient.git
synced 2025-12-19 15:17:12 +01:00
Fix memory leaks
* Fix recursive reference memory leak in UIWidget * Make Event/ScheduledEvent memory-leak safe * Fix exit crashs by freeing graphics resources before destroying GL context * Add many asserts to avoid any leak regression
This commit is contained in:
@@ -32,6 +32,7 @@ public:
|
||||
ConfigManager();
|
||||
bool load(const std::string& file);
|
||||
bool save();
|
||||
void clear();
|
||||
|
||||
void set(const std::string& key, const std::string& value);
|
||||
void setList(const std::string& key, const std::vector<std::string>& list);
|
||||
|
||||
Reference in New Issue
Block a user