Fix memory leak on closing view

This commit is contained in:
Georg Hagen
2024-07-11 17:03:49 +02:00
parent a80c9b639e
commit ca052ef7f1

View File

@@ -36,6 +36,12 @@ using namespace OpenVulkano;
-(void) dealloc {
manager->ShutDown();
delete manager;
app = nullptr;
//TODO figure out where these two references are held
[_openVulkanoView release];
[_openVulkanoView release];
_openVulkanoView = nil;
[super dealloc];
}