mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-28 04:28:01 +02:00
Fixed handle leak in BfpProcess_GetById
This commit is contained in:
parent
c24fb8a26f
commit
ff2affb733
2 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,7 @@ class Program
|
|||
while (true)
|
||||
{
|
||||
// Check BeefIDE process
|
||||
if ((mPid != 123) || (!Debug.IsDebuggerPresent))
|
||||
{
|
||||
var process = Platform.BfpProcess_GetById(null, mPid, null);
|
||||
if (process == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue