private void ReleaseAdsLoader() { if (imaAdsLoader != null) { imaAdsLoader.Release(); imaAdsLoader = null; loadedAdTagUri = null; simpleExoPlayerView.OverlayFrameLayout.RemoveAllViews(); } }
private void ReleaseAdsLoader() { try { if (ImaAdsLoader != null) { ImaAdsLoader.Release(); ImaAdsLoader = null !; SimpleExoPlayerView.OverlayFrameLayout.RemoveAllViews(); } } catch (Exception exception) { Methods.DisplayReportResultTrack(exception); } }
private void ReleaseAdsLoader() { try { if (ImaAdsLoader != null) { ImaAdsLoader.Release(); ImaAdsLoader = null; SimpleExoPlayerView.OverlayFrameLayout.RemoveAllViews(); } } catch (Exception exception) { Console.WriteLine(exception); } }
public void ReleaseAdsLoader() { try { if (ImaAdsLoader != null) { ImaAdsLoader.Release(); ImaAdsLoader = null; simpleExoPlayerView.OverlayFrameLayout.RemoveAllViews(); } } catch (Exception exception) { Crashes.TrackError(exception); } }