public void Dispose() { _Mss?.Dispose(); _MediaSource?.Dispose(); ExitLiveViewing().ConfigureAwait(false); Live2WebSocket?.Dispose(); Live2WebSocket = null; }
public void Dispose() { _Mss?.Dispose(); _MediaSource?.Dispose(); // 次枠検出を終了 StopNextLiveDetection(); ExitLiveViewing().ConfigureAwait(false); Live2WebSocket?.Dispose(); Live2WebSocket = null; }
public void Dispose() { HohoemaApp.MediaPlayer.Source = null; _Mss?.Dispose(); _MediaSource?.Dispose(); // 次枠検出を終了 StopNextLiveSubscribe().ConfigureAwait(false); EndLiveSubscribe().ConfigureAwait(false); Live2WebSocket?.Dispose(); Live2WebSocket = null; }