Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/fix interceptor/webrtc unit test memory leak #629

Merged

Commits on Nov 10, 2024

  1. Fix MockStream cyclic dependency to itself

    - it often binds itself into Interceptor and owns the returned sender/writer. The returned sender/writer might contain the Arc<> to MockStream itself. Thus, the cyclic dependency is formed. We create an internal struct to avoid this.
    mutexd committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    968b30e View commit details
    Browse the repository at this point in the history
  2. Fix cyclic dependency between PeerConnectionInternal and StatsInterce…

    …ptor
    
    - PeerConnectionInternal should not own StatsInterceptor. Make it Weak<>
    mutexd committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    de18e2c View commit details
    Browse the repository at this point in the history
  3. Fix cyclic dependency for dtls_transport

    - IceTransport holds OnConnectionStateChangeFn, which hods DtlsTransport and DtlsTransport holds IceTransport. In the callback we should use Weak<>
    mutexd committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    55f20d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab9813b View commit details
    Browse the repository at this point in the history
  5. Fix formatting

    mutexd committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7b98732 View commit details
    Browse the repository at this point in the history