summaryrefslogtreecommitdiff
path: root/macosx/HotkeyController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HotkeyController.m')
-rwxr-xr-xmacosx/HotkeyController.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HotkeyController.m b/macosx/HotkeyController.m
index fcb15c4e..716c5d84 100755
--- a/macosx/HotkeyController.m
+++ b/macosx/HotkeyController.m
@@ -8,6 +8,7 @@
*/
#import "HotkeyController.h"
+#import "ARCBridge.h"
#define INPUT_HOLD_TIME 0.1
@@ -34,12 +35,14 @@
- (void)dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver:self];
-
+
+#if !__has_feature(objc_arc)
[hotkeysList release];
[keyNameTable release];
[hotkeyOutlets release];
[super dealloc];
+#endif
}
- (void)mapOutletToIdentifier:(id)outlet forIdentifier:(NSString*)identifier