More TODOs.

This commit is contained in:
Pietro Gagliardi 2015-11-20 10:32:26 -05:00
parent f052df5784
commit 48d014e762
2 changed files with 2 additions and 1 deletions

View File

@ -39,5 +39,6 @@ void uiMain(void)
void uiQuit(void)
{
// TODO app->PostMessage(B_QUIT_REQUESTED);?
app->Quit();
}

View File

@ -56,7 +56,7 @@ static void windowCommitDestroy(uiControl *c)
singleChildDestroy(w->child);
// and finally destroy ourselves
// this is why we don't use the libui-provided CommitDestroy() implementation
// TODO check this for errors?
// TODO check this for errors? or use B_QUIT_REQUESTED?
w->window->Lock();
w->window->Quit();
// w->window is now destroyed for us