Telegram
Telegram copied to clipboard
Fixed a memory leak
Usually onVideoTakeCallback is anonymous class in Fragment which causes memory leak when Fragment is no longer active. Setting onVideoTakeCallback to null when its no longer required fixes this issue.