Tom Dohrmann

Results 86 comments of Tom Dohrmann

The problem with casting a reference to a pointer directly is that under stacked borrows the provenance of new pointer is the same the old reference had. In particular the...

> > The problem with casting a reference to a pointer directly is that under stacked borrows the provenance of new pointer is the same the old reference had. >...

> Did you see this comment? > > https://github.com/mozilla/janus-plugin-rs/blob/448d86ab62ac1f6f7b4c7f03cd0cf867e128a74d/src/sdp.rs#L135 I did. > What I understand from this comment is that `Sdp::ptr` is meant to be private, but needs to be...

> So I guess that `SessionWrapper::handle` and `Sdp::ptr` could be made private and add a reference getter with the same name? > https://users.rust-lang.org/t/public-getter-method-vs-pub-field/20147 Yes, but I'd suggest returning the pointers...

Removing the extension, restarting Firefox and reinstalling it again fixed this for me.