• Philip Withnall's avatar
    agent: Remove dangling pointers on NiceSocket destruction · f6337b53
    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.
    f6337b53