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.