mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 03:45:57 +00:00
windows.devices.enumeration/tests: Fix reference count test in device_watcher_handler_Invoke().
This commit is contained in:
parent
dabd4ac736
commit
c77f60df83
|
@ -110,8 +110,9 @@ static HRESULT WINAPI device_watcher_handler_Invoke( ITypedEventHandler_DeviceWa
|
|||
impl->invoked = TRUE;
|
||||
impl->args = args;
|
||||
|
||||
IDeviceWatcher_AddRef( sender );
|
||||
ref = IDeviceWatcher_Release( sender );
|
||||
ok( ref == 2, "got ref %lu\n", ref );
|
||||
ok( ref == 3, "got ref %lu\n", ref );
|
||||
|
||||
SetEvent( impl->event );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user