Differences From Artifact [69b3d14f45]:
- File
src/OFPlugin.m
— part of check-in
[9b88ee6978]
at
2011-02-27 14:40:15
on branch trunk
— OFPlugin: Don't close the handle before calling [super dealloc].
If we close the handle before calling [super dealloc], the plugin class
does not exist anymore. Instead, cache the handle, call [super dealloc]
and then close the handle. (user: js, size: 1915) [annotate] [blame] [check-ins using]
To Artifact [1a436fda73]:
- File src/OFPlugin.m — part of check-in [cda44767f4] at 2011-03-24 19:42:30 on branch trunk — Get rid of OFExceptions.h. (user: js, size: 1973) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 | #ifndef _WIN32 #include <dlfcn.h> #endif #import "OFPlugin.h" #import "OFString.h" #import "OFAutoreleasePool.h" | > > | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef _WIN32 #include <dlfcn.h> #endif #import "OFPlugin.h" #import "OFString.h" #import "OFAutoreleasePool.h" #import "OFInitializationFailedException.h" #import "OFNotImplementedException.h" #ifdef _WIN32 # define dlopen(file, mode) LoadLibrary(file) # define dlsym(handle, symbol) GetProcAddress(handle, symbol) # define dlclose(handle) FreeLibrary(handle) #endif |
︙ | ︙ |