12 May
2025
12 May
'25
10:40 a.m.
Rémi Bernon (@rbernon) commented about dlls/windows.devices.enumeration/main.c:
WINE_DEFAULT_DEBUG_CHANNEL(enumeration);
+struct device_watcher_weak; struct device_watcher { IDeviceWatcher IDeviceWatcher_iface; - LONG ref; + struct device_watcher_weak *weakref;
Does it truly matter for it to use weak refs? Fwiw, if it did (but I don't think it's the case), we should probably check whether it implements IWeakReference* ifaces and do weak ref through them. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7997#note_102976