guozanhua / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

For iOS, crash caused by not clearing lastAdapter's delegates. #296

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In AdWhirlView, wait for lastAdapter property to be assigned with a new value.

What is the expected output? What do you see instead?
AdWhirlView should clear lastAdapter's delegates before setting it with a new 
value. Instead, I see the AdWhirlView assigns a new value without clearing 
lastAdapter's delegates.

What version of the product are you using? On what operating system?
3.1.1 on iOS

Please provide any additional information below.
Here's a link to the code changes necessary to fix this issue: 
https://github.com/buddydvd/AdWhirlSDK-integration/compare/AdWhirlView-lastAdapt
er-clear-delegates

Original issue reported on code.google.com by david...@gmail.com on 17 Feb 2012 at 12:23