From de79614a120e2c1764fb70cb1ff98f307b873c35 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 25 Oct 2018 12:34:33 -0400 Subject: [PATCH] Added info regarding timeout to the appletLockExit comments. --- nx/include/switch/services/applet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nx/include/switch/services/applet.h b/nx/include/switch/services/applet.h index 53f0c6e6..8133813f 100644 --- a/nx/include/switch/services/applet.h +++ b/nx/include/switch/services/applet.h @@ -79,8 +79,9 @@ Result appletBeginBlockingHomeButton(s64 val); Result appletEndBlockingHomeButton(void); /** - * @brief Delay exiting until \ref appletUnlockExit is called. + * @brief Delay exiting until \ref appletUnlockExit is called, with a 15 second timeout once exit is requested. * @note When exit is requested \ref appletMainLoop will return false, hence any main-loop using appletMainLoop will exit. This allows the app to handle cleanup post-main-loop instead of being force-terminated. + * @note If the above timeout occurs after exit was requested where \ref appletUnlockExit was not called, the process will be forced-terminated. * @note \ref appletUnlockExit must be used before main() returns. */ Result appletLockExit(void);