Differences From Artifact [3c5313a6f3]:
- File
src/OFDate.m
— part of check-in
[9cedc18bb3]
at
2020-12-21 21:29:51
on branch trunk
— Don't send messages in destructors
In our tests, we call objc_exit() using atexit(), so the runtime is
already gone by the time any destructors get called. (user: js, size: 20155) [annotate] [blame] [check-ins using]
To Artifact [d8bff9d62d]:
- File src/OFDate.m — part of check-in [b70dcd58e9] at 2020-12-21 22:22:46 on branch trunk — Fix missing static (user: js, size: 20162) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
107 108 109 110 111 112 113 | return seconds; } #if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \ defined(OF_HAVE_THREADS) static OFMutex *mutex; | | | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | return seconds; } #if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \ defined(OF_HAVE_THREADS) static OFMutex *mutex; static void releaseMutex(void) { [mutex release]; } #endif #ifdef OF_WINDOWS |
︙ | ︙ |