(try 7)[1/5] imm32: Move thread data from TLSEntry to an internal list

Alexandre Julliard julliard at winehq.org
Tue Sep 9 05:31:29 CDT 2014


Aric Stewart <aric at codeweavers.com> writes:

> +        if (thread_data->defaultContext) /* someone beat us */
> +            IMM_DestroyContext(defaultContext);

I don't think you should be doing that inside the thread lock.

> +    IMMThreadData* thread_data = IMM_GetThreadData(0);
> +    if (thread_data->hwndDefault == NULL)
> +        thread_data->hwndDefault = CreateWindowExW( WS_EX_TOOLWINDOW,

That one is suspicious too.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list