mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Make IDE remove itself from attach to process list
This commit is contained in:
parent
d778f2dd2f
commit
93fcfda1bd
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ namespace IDE.ui
|
|||
ClearAndDeleteItems(mFullProcessList);
|
||||
mFullProcessList.Clear();
|
||||
Process.GetProcesses(mFullProcessList);
|
||||
|
||||
int index = mFullProcessList.FindIndex(scope (p) => p.Id == Process.CurrentId);
|
||||
delete mFullProcessList[index];
|
||||
mFullProcessList.RemoveAt(index);
|
||||
}
|
||||
|
||||
void FilterProcesses(bool fullRefresh)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue