This happens in case PeerConnection::close() is called while being in gathering state and shortly after that the frame is disconnected.
Created attachment 307558 [details] Patch
Comment on attachment 307558 [details] Patch Clearing flags on attachment: 307558 Committed r215558: <http://trac.webkit.org/changeset/215558>
All reviewed patches have been landed. Closing bug.