[WebRTC] Fix bug (#4598)
authorHaesu Gwon <haesu.gwon@samsung.com>
Mon, 26 Sep 2022 08:38:44 +0000 (17:38 +0900)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2022 08:38:44 +0000 (17:38 +0900)
src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs

index df3af92637dbd6a17fc8c57afec0da171e23a581..3fd50d1eaf0967526f5a7f0eb095cc937f4a79cf 100755 (executable)
@@ -262,6 +262,10 @@ namespace Tizen.Multimedia.Remoting
                     NativeWebRTC.ForeachSupportedTransceiverCodec(WebRtc.Handle, MediaSourceType.Null, type, cb).
                         ThrowIfFailed("failed to retrieve stats");
                 }
+                catch (ObjectDisposedException)
+                {
+                    throw;
+                }
                 catch
                 {
                     Log.Info(WebRTCLog.Tag, "This is not error in csharp.");