Cocoa Port: Fix a theoretical crash that may occur on app exit.

- This doesn't actually happen in practice, but its good to fix this anyways.
This commit is contained in:
rogerman 2022-05-03 04:17:30 -07:00
parent e2373bc5ff
commit ccfd5a5a55
1 changed files with 1 additions and 0 deletions

View File

@ -739,6 +739,7 @@ static NSImage *iconCodeBreaker = nil;
self.dbDate = nil;
[list release];
delete (CHEATS *)self.listData;
cheats = NULL;
if (isUsingDummyRWlock)
{