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:
parent
e2373bc5ff
commit
ccfd5a5a55
|
@ -739,6 +739,7 @@ static NSImage *iconCodeBreaker = nil;
|
||||||
self.dbDate = nil;
|
self.dbDate = nil;
|
||||||
[list release];
|
[list release];
|
||||||
delete (CHEATS *)self.listData;
|
delete (CHEATS *)self.listData;
|
||||||
|
cheats = NULL;
|
||||||
|
|
||||||
if (isUsingDummyRWlock)
|
if (isUsingDummyRWlock)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue