More expository comments and TODOs.
This commit is contained in:
parent
a516839e9d
commit
86a4b0a7ba
|
@ -67,6 +67,7 @@ void uiUninit(void)
|
|||
{
|
||||
uninitMenus();
|
||||
// TODO free application delegate
|
||||
// TODO free NSApplication resources (main menu, etc.)
|
||||
uninitAlloc();
|
||||
}
|
||||
|
||||
|
|
|
@ -352,6 +352,7 @@ void uninitMenus(void)
|
|||
{
|
||||
if (menus == NULL)
|
||||
return;
|
||||
// don't worry about the actual NSMenus and NSMenuItems; they'll be freed when we clean up the NSApplication
|
||||
[menus enumerateObjectsUsingBlock:^(id obj, NSUInteger index, BOOL *stop) {
|
||||
NSValue *v;
|
||||
struct menu *m;
|
||||
|
|
Loading…
Reference in New Issue