69296d229eb2f5b5842f7855ef4110e0e4817da2
Using 'self' in a block maintains a strong reference to it, the previous code would never release that reference and therefore leak the AVFMediaPlayerSessionObserver object when the session was deleted. Captured variables used in the relevant block are now marked with '__block' to make sure no strong references are maintained. We now also make sure the session still exist when that callback block is called. Change-Id: I847b524d8692559fe5884517abb5b9cc7696b4fd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Description
No description provided
Languages
C++
90.5%
Objective-C++
5.8%
QMake
1%
Objective-C
0.9%
QML
0.5%
Other
1%