[PATCH v2 5/6] windows.media.speech: Implement concurrency in IAsyncOperation.
Bernhard Kölbl
besentv at gmail.com
Fri Apr 22 10:44:41 CDT 2022
Not, if ref is 0 on the second last check. :3
Rémi Bernon <rbernon at codeweavers.com> schrieb am Fr., 22. Apr. 2022, 15:45:
> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
> ---
>
> > @@ -1096,9 +1096,9 @@ static void test_SpeechRecognizer(void)
> > ok(async_status == Completed, "Status was %#x.\n",
> async_status);
> >
> > ref = IAsyncInfo_Release(info);
> > - ok(ref == 1, "Got unexpected ref %lu.\n", ref);
> > + ok(ref >= 1, "Got unexpected ref %lu.\n", ref);
> > ref =
> IAsyncOperation_SpeechRecognitionCompilationResult_Release(operation);
> > - ok(!ref, "Got unexpected ref %lu.\n", ref);
> > + ok(ref >= 0, "Got unexpected ref %lu.\n", ref);
> >
>
> Though I think this check is then useless.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220422/a0f16514/attachment.htm>
More information about the wine-devel
mailing list