[PATCH] evr: Add missing LeaveCriticalSection on creating tracking thread.
Zhiyi Zhang
zzhang at codeweavers.com
Thu Dec 10 20:59:33 CST 2020
On 12/11/20 10:52 AM, Haidong Yu wrote:
>
>
> 0001-evr-Add-missing-LeaveCriticalSection-on-creating-tra.patch
>
> From 79707b289e9cfa1bb734c2dfef68fe24f78e5c38 Mon Sep 17 00:00:00 2001
> From: yuhaidong <yuhaidong at uniontech.com>
> Date: Fri, 11 Dec 2020 10:16:00 +0800
> Subject: [PATCH] evr: Add missing LeaveCriticalSection on creating tracking
> thread.
>
> Signed-off-by: yuhaidong <yuhaidong at uniontech.com>
> ---
> .vscode/settings.json | 16 ++++++++++++++++
> dlls/evr/sample.c | 1 +
> 2 files changed, 17 insertions(+)
> create mode 100644 .vscode/settings.json
>
> diff --git a/.vscode/settings.json b/.vscode/settings.json
> new file mode 100644
> index 00000000000..f6f773bb522
> --- /dev/null
> +++ b/.vscode/settings.json
> @@ -0,0 +1,16 @@
> +{
> + "files.associations": {
> + "*.idl": "c",
> + "array": "c",
> + "string_view": "c",
> + "initializer_list": "c",
> + "utility": "c",
> + "functional": "c",
> + "istream": "c",
> + "ostream": "c",
> + "tuple": "c",
> + "type_traits": "c",
> + "string": "c",
> + "*.rh": "c"
> + }
> +}
> \ No newline at end of file
Hi Haidong,
You're submitting unrelated changes.
Thanks,
Zhiyi
> diff --git a/dlls/evr/sample.c b/dlls/evr/sample.c
> index aedf19b9fd4..44b09d6d474 100644
> --- a/dlls/evr/sample.c
> +++ b/dlls/evr/sample.c
> @@ -345,6 +345,7 @@ static void video_sample_create_tracking_thread(void)
> {
> WARN("Failed to create sample tracking thread.\n");
> CloseHandle(ready_event);
> + LeaveCriticalSection(&tracking_thread_cs);
> return;
> }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201211/22851bd2/attachment.htm>
More information about the wine-devel
mailing list