krzysztofzablocki / LineDrawing

Beatiful and fast smooth line drawing algorithm for iOS - as seen in Foldify.
http://twitter.com/merowing_
Other
1.29k stars 213 forks source link

Message sent to deallocated instance? #13

Closed oskareke closed 11 years ago

oskareke commented 11 years ago

I'm experiencing a similar issue to the one described in https://github.com/krzysztofzablocki/CCNode-SFGestureRecognizers/issues/2

Whenever I add an AdMob banner and it receives a callback I get *\ -[_UIWebViewScrollView release]: message sent to deallocated instance 0x21cb01b0

But it seems to somehow originate from your library and/or Cocos2d as I was previously getting the same error for other ScrollViews but it never appears if I don't add the Drawing layer (taking out [scene addChild:lineDrawer]); gets rid of the problem. Also, the problem only occurs after switching ViewControllers.

Do you have any suggestions as for what might cause this?

krzysztofzablocki commented 11 years ago

Can you try updating gesture recognisers to the newest ones from GitHub, not sure if drawing sample has them.

On Saturday, 2 March 2013 at 02:35, oskareke wrote:

I'm experiencing a similar issue to the one described in
krzysztofzablocki/CCNode-SFGestureRecognizers#2 (https://github.com/krzysztofzablocki/CCNode-SFGestureRecognizers/issues/2)
Whenever I add an AdMob banner and it receives a callback I get *\ -[_UIWebViewScrollView release]: message sent to deallocated instance 0x21cb01b0 But it seems to somehow originate from your library and/or Cocos2d as I was previously getting the same error for other ScrollViews but it never appears if I don't add the Drawing layer (taking out [scene addChild:lineDrawer]); gets rid of the problem. Also, the problem only occurs after switching ViewControllers. Do you have any suggestions as for what might cause this?

— Reply to this email directly or view it on GitHub (https://github.com/krzysztofzablocki/smooth-drawing/issues/13).

oskareke commented 11 years ago

That solved it, thanks a lot!