Skip to content
  • Philip Withnall's avatar
    agent: Remove dangling pointers on NiceSocket destruction · 00e89e32
    Philip Withnall authored
    If a NiceSocket is destroyed, various pointers are currently left
    dangling to it in the conncheck state. These can cause crashes if (for
    example) a CandidateCheckPair with such a dangling pointer is then used;
    the GSocket methods will fail.
    
    Fix this by explicitly removing the socket and all NiceCandidates which
    wrap it from various areas of the state.
    00e89e32