Commit a493185e authored by David Fuhrmann's avatar David Fuhrmann

macosx: Fix crash in eyetv controller, reformat

parent 2d47c8c0
......@@ -34,16 +34,20 @@
{
self = [super init];
if (self) {
[[NSDistributedNotificationCenter defaultCenter]
addObserver:self
selector:@selector(globalNotificationReceived:)
name:NULL
object:@"VLCEyeTVSupport"
suspensionBehavior:NSNotificationSuspensionBehaviorDeliverImmediately];
[[NSDistributedNotificationCenter defaultCenter] addObserver:self
selector:@selector(globalNotificationReceived:)
name:NULL
object:@"VLCEyeTVSupport"
suspensionBehavior:NSNotificationSuspensionBehaviorDeliverImmediately];
}
return self;
}
- (void)dealloc
{
[[NSDistributedNotificationCenter defaultCenter] removeObserver:self];
}
- (void)globalNotificationReceived: (NSNotification *)theNotification
{
/* update our info on the used device */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment