{"action":"created","issue":{"url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/65","repository_url":"https://api.github.com/repos/radioman/WebRtc.NET","labels_url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/65/comments","events_url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/65/events","html_url":"https://github.com/radioman/WebRtc.NET/issues/65","id":251235241,"node_id":"MDU6SXNzdWUyNTEyMzUyNDE=","number":65,"title":"AccessViolationException when disconnected twice ","user":{"login":"JaebumLee","id":23352000,"node_id":"MDQ6VXNlcjIzMzUyMDAw","avatar_url":"https://avatars3.githubusercontent.com/u/23352000?v=4","gravatar_id":"","url":"https://api.github.com/users/JaebumLee","html_url":"https://github.com/JaebumLee","followers_url":"https://api.github.com/users/JaebumLee/followers","following_url":"https://api.github.com/users/JaebumLee/following{/other_user}","gists_url":"https://api.github.com/users/JaebumLee/gists{/gist_id}","starred_url":"https://api.github.com/users/JaebumLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaebumLee/subscriptions","organizations_url":"https://api.github.com/users/JaebumLee/orgs","repos_url":"https://api.github.com/users/JaebumLee/repos","events_url":"https://api.github.com/users/JaebumLee/events{/privacy}","received_events_url":"https://api.github.com/users/JaebumLee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-18T12:49:02Z","updated_at":"2018-07-30T15:45:36Z","closed_at":null,"author_association":"NONE","body":"WebRtc.NET.ManagedConductor.!ManagedConductor() \r\nwebrtc.net-master\\webrtc.net\\src\\managed.cpp:line 377\r\nWebRtc.NET.ManagedConductor.~ManagedConductor()\r\nwebrtc.net-master\\webrtc.net\\src\\managed.cpp:line 217\r\nWebRtc.NET.ManagedConductor.Dispose(Boolean A_0)\r\nc:\\program files (x86)\\microsoft visual studio 14.0\\vc\\include\\xatomic0.h:line 0\r\nWebRtc.NET.ManagedConductor.Dispose()\r\nWebRtc.NET.Demo.WebRTCServer.<>c__DisplayClass19_1.<OnReceive>b__0() \r\nWebRtc.NET-master\\WebRtc.NET.Demo\\WebRTCServer.cs:line 227\r\n...\r\n\r\n\r\n[managed.cpp]\r\n\r\n```\r\n!ManagedConductor()\r\n{\r\n\t// free unmanaged data\r\n\tif (cd != NULL)\r\n\t{\r\n\t\tdelete cd;\t\t// **crash here!!**\t\t\t\r\n\t}\r\n\tcd = NULL;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/comments/408910675","html_url":"https://github.com/radioman/WebRtc.NET/issues/65#issuecomment-408910675","issue_url":"https://api.github.com/repos/radioman/WebRtc.NET/issues/65","id":408910675,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODkxMDY3NQ==","user":{"login":"madmaxom","id":11648760,"node_id":"MDQ6VXNlcjExNjQ4NzYw","avatar_url":"https://avatars2.githubusercontent.com/u/11648760?v=4","gravatar_id":"","url":"https://api.github.com/users/madmaxom","html_url":"https://github.com/madmaxom","followers_url":"https://api.github.com/users/madmaxom/followers","following_url":"https://api.github.com/users/madmaxom/following{/other_user}","gists_url":"https://api.github.com/users/madmaxom/gists{/gist_id}","starred_url":"https://api.github.com/users/madmaxom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmaxom/subscriptions","organizations_url":"https://api.github.com/users/madmaxom/orgs","repos_url":"https://api.github.com/users/madmaxom/repos","events_url":"https://api.github.com/users/madmaxom/events{/privacy}","received_events_url":"https://api.github.com/users/madmaxom/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T15:45:36Z","updated_at":"2018-07-30T15:45:36Z","author_association":"NONE","body":"Same issue here.\r\nWorked around it by changing the \"using\" of the WebRtcSession in [WebRTCServer.cs](https://github.com/radioman/WebRtc.NET/blob/staging/WebRtc.NET.Demo/WebRTCServer.cs#L182) to a try / catch (AccessViolationException e) without calling Dispose() in it.\r\nI know this is ugly and should not be done, but it may work for you @gerrosc ."}}
{"actor":{"display_login":"madmaxom"}}