Index: src/OFApplication.h ================================================================== --- src/OFApplication.h +++ src/OFApplication.h @@ -160,11 +160,11 @@ * @return The environment of the application */ + (OFDictionary*)environment; /*! - * @brief Terminates the application. + * @brief Terminates the application with the EXIT_SUCCESS status. */ + (void)terminate OF_NO_RETURN; /*! * @brief Terminates the application with the specified status. Index: src/OFApplication.m ================================================================== --- src/OFApplication.m +++ src/OFApplication.m @@ -467,13 +467,13 @@ [runLoop run]; } - (void)terminate { - exit(0); + exit(EXIT_SUCCESS); } - (void)terminateWithStatus: (int)status { exit(status); } @end