RIBs icon indicating copy to clipboard operation
RIBs copied to clipboard

serious memory leak in iOS platform

Open spirit-jsb opened this issue 1 year ago • 3 comments

On iOS, we can't call the detachChild method properly when we swipe to close the page, which causes a serious memory leak, is there any way to solve this problem

Sent from PPHub

spirit-jsb avatar Jun 28 '24 11:06 spirit-jsb

@rudro do you have an answer?

programming086 avatar Jul 21 '24 02:07 programming086

@spirit-jsb this should probably help https://github.com/uber/RIBs/issues/131#issuecomment-348382145

alexvbush avatar Aug 23 '24 20:08 alexvbush

alternative is to override leftBarButtonItem and only allow an explicit back button action where you cna route away from child. that way you can avoid memory leaks

alexvbush avatar Aug 23 '24 20:08 alexvbush