You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think here should be [weak self] because this block retains RichMedia object, which has strong reference to DynamicRefresher object.
In CustomVars class, var screen: AbstractScreen! is defined. I think it should be weak var screen: AbstractScreen!, otherwise we get leak because CustomVars is retaining AbstractScreen and vice verse.
What do you think about it?
The text was updated successfully, but these errors were encountered:
Hallo,
I had two problems with cycles using this library:
@objc public func sendPlay(dynamicRefreshConfiguration: [Int: Int])
, line withI think here should be [weak self] because this block retains
RichMedia
object, which has strong reference toDynamicRefresher
object.CustomVars
class,var screen: AbstractScreen!
is defined. I think it should beweak var screen: AbstractScreen!
, otherwise we get leak becauseCustomVars
is retainingAbstractScreen
and vice verse.What do you think about it?
The text was updated successfully, but these errors were encountered: