Revise counting of allocated RTCPeerConnections
The old count wouldn't count RTCPeerConnections allocated when returning an error saying "too many PeerConnections", but those would be garbage collected later. This change fixes that issue. Tested: Before the fix, a different test failed on the (new) DCHECK. After the fix, the same test didn't fail. Bug: 827064 Change-Id: I4765ce7043fd8a4e0c9c54dc1ec403e986ffed77 Reviewed-on: https://chromium-review.googlesource.com/1061176Reviewed-by:Henrik Boström <hbos@chromium.org> Commit-Queue: Harald Alvestrand <hta@chromium.org> Cr-Commit-Position: refs/heads/master@{#561044}
Showing
Please register or sign in to comment