Skip to content

Commit 6488c90

Browse files
authored
bugfix(asciistring): Fix thread unsafe reference counting of AsciiString (#1395)
1 parent 94fe5e5 commit 6488c90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GeneralsMD/Code/Main/WinMain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
774774
// default in a DevStudio project
775775
//
776776

777+
TheAsciiStringCriticalSection = &critSec1;
777778
TheUnicodeStringCriticalSection = &critSec2;
778779
TheDmaCriticalSection = &critSec3;
779780
TheMemoryPoolCriticalSection = &critSec4;

0 commit comments

Comments
 (0)