gianluca.bertani Hello Ebrahim,
the LS client library for iOS is compatible with ARC and has no special memory management needs, just common retain/release practices. In particular, the LS client retains the delegate passed on the openConnectionWithInfomethod and releases it on closeConnection . Similarly, table delegates are retained on subscribeTable/subscribeItemsand released on unsubscribeTable .
So, pay attention you do the clean up in the correct order to avoid memory leaks:
1) unsubscribe tables
2) close the LS client connection
3) set LS client to nil
4) remove the view controller
Hope this helps.
Best regards,
Gianluca
Hello Gianluca,
I do all of thing , and check memory for my application , the LS is released but with 10 or 15 second delay.