private void ClearStartRequests() { lock (this) { StartRequests.Clear(); GC.Collect(); } }
private void ClearStartRequests() { //Request tmpTequest; //while (StartRequests.TryTake(out tmpTequest)) //{ // tmpTequest.Dispose(); //} StartRequests.Clear(); GC.Collect(); }