mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +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 a new issue