mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
RenderOptions controller should delete its callback
This commit is contained in:
@@ -61,6 +61,8 @@ RenderController::~RenderController() {
|
||||
{
|
||||
ui::Engine::Ref().CloseWindow();
|
||||
}
|
||||
if(callback)
|
||||
delete callback;
|
||||
delete renderModel;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user