Skip to content

Commit

Permalink
RSDK-7691: Exempt DataChannel.readLoop from leak detection. (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgottlieb authored May 21, 2024
1 parent 078849d commit a27f13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions leak.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ func FindGoroutineLeaks(options ...goleak.Option) error {
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
goleak.IgnoreTopFunction("github.com/desertbit/timer.timerRoutine"), // gRPC uses this
goleak.IgnoreTopFunction("github.com/letsencrypt/pebble/va.VAImpl.processTasks"), // no way to stop it,
goleak.IgnoreTopFunction("github.com/pion/webrtc/v3.(*DataChannel).readLoop"), // RSDK-7514, RSDK-7691
)
return goleak.Find(optsCopy...)
}

0 comments on commit a27f13b

Please sign in to comment.