Skip to content

Commit 996250e

Browse files
HeisSpiterJoachimHenze
authored andcommitted
[0.4.11] [WIN32SS] Shhhhh! CORE-11944
This silences log-spam from recently added STUB-call of IntGoGhost() which gets called very frequently currently, e.g. during our currently pseudo-async network transfers cherry picked from commit 0.4.12-dev-8-g 958ae44
1 parent a36ed7a commit 996250e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

win32ss/user/ntuser/ghost.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ BOOL FASTCALL IntGoGhost(PWND Window, BOOL bGo)
1313
// 1. Create a thread.
1414
// 2. Create a ghost window in the thread.
1515
// 3. Do message loop in the thread
16-
STUB;
16+
static int bWarnedOnce = 0;
17+
if (!bWarnedOnce)
18+
{
19+
bWarnedOnce++;
20+
STUB;
21+
}
1722
return FALSE;
1823
}

0 commit comments

Comments
 (0)