This CL is a follow-up to https://webrtc-review.googlesource.com/c/src/+/71666 where a lot of code was removed. Accidentally, the code that called SurfaceTextureHelper.dispose() was removed. This code used to reside in surfacetexturehelper.cc. This CL reintroduces the call to dispose in the VideoSource.java backwards compatibility path. Bug: webrtc:9181 Change-Id: I3e439dbf97965d806d238f7697561ac5ee9e79f1 Reviewed-on: https://webrtc-review.googlesource.com/73180 Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23087}