gl: win32: Unparent internal window before destroying it
authorXavier Claessens <xavier.claessens@collabora.com>
Mon, 16 May 2016 21:11:53 +0000 (17:11 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:19 +0000 (19:32 +0000)
commit719298af982cf8665deb701256c213ae64040ba3
treecdb590f94b9bd27382eb50c9b9c112d851c542af
parente2731f35bfd59f77b22f2d8d188939664423d4f5
gl: win32: Unparent internal window before destroying it

For some reason DestroyWindow() deadlock if it's called from
parent window's KeyPress event.

https://bugzilla.gnome.org/show_bug.cgi?id=766533
gst-libs/gst/gl/win32/gstglwindow_win32.c