On 8/11/17 5:59 AM, Henri Sivonen wrote:
The action is decrementing a counter on the inner window, so it's
sufficient if the C++ destructor knows if it needs to decrement the
counter and knows which window.

The concrete situation is described in
https://bugzilla.mozilla.org/show_bug.cgi?id=1378123#c9

Ah, ok. Yeah, in this case the "have it own a C++ object" approach is reasonable. And PeerConnectionImpl definitely fits the bill in your specific use case.

-Boris


_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to