Page 1 of 1

Can't release AirconsoleMgr on iOs

Posted: Mon Apr 06, 2015 8:54 pm
by Antotoni
This is a solvable problem?
I would say that it should be solved .. I need to be solved ... thanks.
:roll:
Antonio.

Simple Example:

Code: Select all

_airconsoleMgr = [AirconsoleMgr new];
_airconsoleMgr.delegate = self;
[_airconsoleMgr scanForDevices];
_airconsoleMgr = nil

Result is exception:
Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <AirconsoleMgr 0x7aedf860> for the key path "UIApplicationDidEnterBackgroundNotification" from <NSNotificationCenter 0x7ae757c0> because it is not registered as an observer

Re: Can't release AirconsoleMgr on iOs

Posted: Wed Apr 15, 2015 9:48 am
by Antotoni
release sdk_r1.51 has solved ?!
:ugeek:

Now comes another error.
When AirconsoleMgr is released.. after some time the object "released" is called to respond to a selector.
With NSZombieEnabled set to YES displays this error:
-[AirconsoleMgr respondsToSelector:]: message sent to deallocated instance 0x14dd1330
:roll:

Re: Can't release AirconsoleMgr on iOs

Posted: Thu Apr 16, 2015 6:28 pm
by Antotoni
Antotoni wrote:release sdk_r1.51 has solved ?!
:ugeek:

Now comes another error.
When AirconsoleMgr is released.. after some time the object "released" is called to respond to a selector.
With NSZombieEnabled set to YES displays this error:
-[AirconsoleMgr respondsToSelector:]: message sent to deallocated instance 0x14dd1330
:roll:


Edit: This issue can occur when AirconsoleMgr scan the wifi network, with the bluetooth has never presented this issue