Closed defagos closed 2 years ago
If a Letterbox view is assigned to a controller which is retained somewhere else, it never can be properly deallocated. The controller is somehow retaining the view.
Incorrect behavior
Always reproducible
Two code samples:
If the controller and the view belong to the same object (e.g. a view controller) then no issue arises.
This was an unnoticed retain cycle which I fixed on feature/letterbox-view-leak-fix.
feature/letterbox-view-leak-fix
If a Letterbox view is assigned to a controller which is retained somewhere else, it never can be properly deallocated. The controller is somehow retaining the view.
Issue type
Incorrect behavior
Environment information
Reproducibility
Always reproducible
Code sample
Two code samples:
If the controller and the view belong to the same object (e.g. a view controller) then no issue arises.
Steps to reproduce