Differences From Artifact [83ca64083c]:
- File
src/OFURLHandler.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: 3831) [annotate] [blame] [check-ins using]
To Artifact [b3dc531a71]:
- File src/OFURLHandler.m — part of check-in [b70dcd58e9] at 2020-12-21 22:22:46 on branch trunk — Fix missing static (user: js, size: 3838) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
33 34 35 36 37 38 39 | # import "OFHTTPURLHandler.h" #endif static OFMutableDictionary OF_GENERIC(OFString *, OFURLHandler *) *handlers; #ifdef OF_HAVE_THREADS static OFMutex *mutex; | | | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # import "OFHTTPURLHandler.h" #endif static OFMutableDictionary OF_GENERIC(OFString *, OFURLHandler *) *handlers; #ifdef OF_HAVE_THREADS static OFMutex *mutex; static void releaseMutex(void) { [mutex release]; } #endif @implementation OFURLHandler |
︙ | ︙ |