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:
commit
815206a354
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue