@@ -13,10 +13,12 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" + +#include #import "OFString.h" #import "OFFile.h" #import "OFAutoreleasePool.h" @@ -30,10 +32,14 @@ #endif int main(int argc, char *argv[]) { +#ifdef OF_OBJFW_RUNTIME + atexit(objc_exit); +#endif + /* We need deterministic hashes for tests */ of_hash_seed = 0; return of_application_main(&argc, &argv, [TestsAppDelegate class]); }