https://bugs.winehq.org/show_bug.cgi?id=57989
Bug ID: 57989 Summary: Event type synchronization primitive leaked when calling kernel32.ResumeThread Product: Wine-staging Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: digitman63@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 78247 --> https://bugs.winehq.org/attachment.cgi?id=78247 A simple test demonstrating leakage of Event type synchronization primitive when calling kernel32.ResumeThread function
Each time the CreateThread function is called, which directly starts the thread, or the ResumeThread function of this thread, a synchronization primitive of type Event is created, which is not destroyed when the thread terminates and its handle is closed by calling CloseHandle.
Attached is an archive with a simple test demonstrating a primitive leak.