The following code leaves behind open resources that prevents an open ipc connection from closing. Process[] processList = Process.GetProcesses(this.ResourceName); int process_length = processList.Length; values = new string[process_length, 2]; for(int x = 0; x < process_length; x++) { values[x,0] = processList[x].ProcessName.ToString(); values[x,1] = processList[x].StartInfo.UserName.ToString(); processList[x].Close(); } processList = null;
Product Language
Version
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results