Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Revert "[MediaElement] Removed line that pauses player before setting…
Browse files Browse the repository at this point in the history
… it to null. (#9531)"

This reverts commit 9f3410b.
  • Loading branch information
PureWeen committed Aug 20, 2020
1 parent 0425da1 commit 50ae77f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 76 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)Issue9833.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Issue9929.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Issue9525.cs" />
<Compile Include="$(MSBuildThisFileDirectory)RefreshViewTests.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Issue7338.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ScrollToGroup.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ protected override void Dispose(bool disposing)

RemoveStatusObserver();

_avPlayerViewController?.Player?.Pause();
_avPlayerViewController?.Player?.ReplaceCurrentItemWithPlayerItem(null);

base.Dispose(disposing);
Expand Down

0 comments on commit 50ae77f

Please sign in to comment.