From e536256e0a33914bed61e622b4dd74dbf0a9f308 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 2 Feb 2023 00:16:19 +0200 Subject: [PATCH] [USER32_APITEST] Remove "ugly ros hack" This hack corrupts memory and causes test failures on Windows. --- modules/rostests/apitests/user32/AttachThreadInput.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/rostests/apitests/user32/AttachThreadInput.c b/modules/rostests/apitests/user32/AttachThreadInput.c index 0249678f0f3..6329778b8e6 100644 --- a/modules/rostests/apitests/user32/AttachThreadInput.c +++ b/modules/rostests/apitests/user32/AttachThreadInput.c @@ -193,9 +193,6 @@ BOOLEAN InitThreads() /* create thread2(same desktop) */ if(!CreateTestThread(2, NULL)) return FALSE; - /* ugly ros hack to bypass desktop crapiness */ - if(!CreateTestThread(6, L"ThreadTestDesktop")) return FALSE; - /* create thread3(different desktop) */ if(!CreateTestThread(3, L"ThreadTestDesktop")) return FALSE;