mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +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);
|
ClearAndDeleteItems(mFullProcessList);
|
||||||
mFullProcessList.Clear();
|
mFullProcessList.Clear();
|
||||||
Process.GetProcesses(mFullProcessList);
|
Process.GetProcesses(mFullProcessList);
|
||||||
|
|
||||||
|
int index = mFullProcessList.FindIndex(scope (p) => p.Id == Process.CurrentId);
|
||||||
|
delete mFullProcessList[index];
|
||||||
|
mFullProcessList.RemoveAt(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FilterProcesses(bool fullRefresh)
|
void FilterProcesses(bool fullRefresh)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue