 		NotificationCenter.default.removeObserver(self)
 		_isFullscreen = false
 		_player = nil
+        
+        // Cast
+        if let mCastPlayer = castPlayer {
+            mCastPlayer.destroy()
+        }
+        
+        SambaCast.sharedInstance.unSubscribe(delegate: self)
         castPlayer = nil
         castPlayerController = nil
         

    // SambaCast Delegate
    public func onCastConnected() {
        
    }
    
    public func onCastDisconnected() {

			detachVC(player, nil, false)
		}
        
        if let mCastPlayerController = castPlayerController {
            detachVC(mCastPlayerController, nil, false)
        }
