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