3 Jul
2023
3 Jul
'23
9:42 a.m.
Rémi Bernon (@rbernon) commented about dlls/windows.devices.geolocation.geolocator/main.c:
static ULONG WINAPI geolocator_Release(IGeolocator *iface) { struct geolocator *impl = impl_from_IGeolocator(iface); - ULONG ref = InterlockedDecrement(&impl->ref); + ULONG ref = InterlockedDecrement(&impl->ref_public); + if (ref == 0) + { + IWeakReference_Release(&impl->IWeakReference_iface);; + }
if (!ref)
IWeakReference_Release(&impl->IWeakReference_iface);
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3189#note_37597