diff --git a/README.md b/README.md index c9bfc225..c1b7379c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ This README is being written.
* **24 May 2016** * As promised, `uiCombobox` is now split into `uiCombobox` for non-editable comboboxes and `uiEditableCombobox` for editable comboboxes. Mind the function changes as well :) + * There is a new function `uiMainStep()`, which runs one iteration of the main loop. It takes a single boolean argument, indicating whether to wait for an event to occur or not. It returns true if an event was processed (or if no event is available if you don't want to wait) and false if the event loop was told to stop (for instance, `uiQuit()` was called). * **23 May 2016** * Fixed surrogate pair drawing on OS X. diff --git a/darwin/menu.m b/darwin/menu.m index b20214ad..4c6ec519 100644 --- a/darwin/menu.m +++ b/darwin/menu.m @@ -54,7 +54,7 @@ static void mapItemReleaser(void *key, void *value) mapWalk(self->items, mapItemReleaser); mapReset(self->items); mapDestroy(self->items); - uninitMenus(); + uninitMenus(); [super dealloc]; }