30 Nov
2022
30 Nov
'22
6:24 p.m.
Since multiple interfaces can hold onto it, we need to refcount it. In order to do this just refcount the parent device, and close the handle only when the parent device refcount reaches 0. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1615