summaryrefslogtreecommitdiff
path: root/src/modalMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modalMenu.h')
-rw-r--r--src/modalMenu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modalMenu.h b/src/modalMenu.h
index 2323a7e42..ebbb06cfe 100644
--- a/src/modalMenu.h
+++ b/src/modalMenu.h
@@ -86,7 +86,10 @@ public:
}
/*
- This should be called when the menu wants to quit
+ This should be called when the menu wants to quit.
+
+ WARNING: THIS DEALLOCATES THE MENU FROM MEMORY. Return
+ immediately if you call this from the menu itself.
*/
void quitMenu()
{