sector3studios / r3e-api

Layout and sample for the R3E shared memory API
The Unlicense
46 stars 15 forks source link

Memory leak in IsProcessRunning() #1

Closed FelixStarke closed 7 years ago

FelixStarke commented 8 years ago

The created snapshot-handle never gets closed. If you call the IsProcessRunning function to often your RAM fills up. To avoid this call CloseHandle(snapshot) before returning. [c-sample]