RenderOptions controller should delete its callback
This commit is contained in:
parent
edac8b5481
commit
81423ba568
@ -61,6 +61,8 @@ RenderController::~RenderController() {
|
||||
{
|
||||
ui::Engine::Ref().CloseWindow();
|
||||
}
|
||||
if(callback)
|
||||
delete callback;
|
||||
delete renderModel;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user