1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Merge pull request #1355 from disarray2077/patch-3

Make IDE remove itself from attach to process list
This commit is contained in:
Brian Fiete 2022-01-07 12:41:39 +01:00 committed by GitHub
commit 815206a354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,17 @@ namespace IDE.ui
ClearAndDeleteItems(mFullProcessList);
mFullProcessList.Clear();
Process.GetProcesses(mFullProcessList);
// Remove ourselves from the list
for (var process in mFullProcessList)
{
if (process.Id == Process.CurrentId)
{
delete process;
@process.Remove();
break;
}
}
}
void FilterProcesses(bool fullRefresh)