30 Jul
2025
30 Jul
'25
8:13 a.m.
As closing/freeing the `HDEVQUERY` is performed asynchronously, I have also added `IWeakReference` support for the device watcher.
If this is only meant to fix some tests I don't think it's worth the added complexity. We only care about matching Windows (weak) refcounting when necessary: if an application depends on it, or if it is required to break reference cycle. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8555#note_111444