More TODOs.
This commit is contained in:
parent
f052df5784
commit
48d014e762
|
@ -39,5 +39,6 @@ void uiMain(void)
|
||||||
|
|
||||||
void uiQuit(void)
|
void uiQuit(void)
|
||||||
{
|
{
|
||||||
|
// TODO app->PostMessage(B_QUIT_REQUESTED);?
|
||||||
app->Quit();
|
app->Quit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ static void windowCommitDestroy(uiControl *c)
|
||||||
singleChildDestroy(w->child);
|
singleChildDestroy(w->child);
|
||||||
// and finally destroy ourselves
|
// and finally destroy ourselves
|
||||||
// this is why we don't use the libui-provided CommitDestroy() implementation
|
// 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->Lock();
|
||||||
w->window->Quit();
|
w->window->Quit();
|
||||||
// w->window is now destroyed for us
|
// w->window is now destroyed for us
|
||||||
|
|
Loading…
Reference in New Issue