Segfault in libgdk-3 when removing twice a GtkGstGLWidget
In Gajim, an XMPP client, we want to be able to change the video sink for video calls, but doing so multiple times leads to a crash.
Here is a testcase reproducing this issue: gst-gtk-crash.rs
It’s based on the gtksink.rs example with all comments removed and replaced with the ones relevant for this issue.