webim / webim-client-sdk-ios

Webim Mobile SDK for iOS (Swift)
MIT License
5 stars 25 forks source link

Weak reference to SendFileCompletionHandler #5

Closed nayzak closed 6 years ago

nayzak commented 6 years ago

WebimRequest has weak reference to sendFileCompletionHandler. MessageStreamImpl.send(file: filename: mimeType: completionHandler:) creates wrapper around clients completion handler (SendFileCompletionHandlerWrapper) and doesn't retain it. So clients completion handler doesn't work when it used with that method.

webim commented 6 years ago

Fixed since version 3.22.3.