Differences From Artifact [ff6017ec5d]:
- File src/OFPlugin.m — part of check-in [da6b3d26cb] at 2011-01-01 20:19:54 on branch trunk — Change license. (user: js, size: 1887) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
72 73 74 75 76 77 78 | } return [super init]; } - (void)dealloc { | | | > > | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | } return [super init]; } - (void)dealloc { of_plugin_handle_t h = handle; [super dealloc]; dlclose(h); } @end |