diff --git a/lib/player.js b/lib/player.js index 091b833ebe..e103c32cf6 100644 --- a/lib/player.js +++ b/lib/player.js @@ -1321,9 +1321,8 @@ shaka.Player = class extends shaka.util.FakeEventTarget { } if (this.adManager_) { - // The ad manager is specific to the video, so dispose of it. + // The ad manager is specific to the video, so detach it too. this.adManager_.release(); - this.adManager_ = null; } // Clear our cached copy of the media element.