[PATCH v5 2/2] server: Do not detach windows if they belong to another thread.
rbernon at codeweavers.com
Wed Nov 13 11:30:24 CST 2019
On 11/13/19 11:31 AM, Rémi Bernon wrote:
> - detach_window_thread( win );
> + if (win->thread == current) detach_window_thread( win );
> if (win->win_region) free_region( win->win_region );
> if (win->update_region) free_region( win->update_region );
> if (win->class) release_class( win->class );
Actually this causes some leaks that are reported when server is
shutting down, sorry for missing it. This seems to be the case when the
thread the child window lives in has terminated already, in which case
the parent window should do the release.
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel