Remove GC.Collect()

This commit is contained in:
Afshin Arani 2016-10-14 11:48:06 +03:30 committed by GitHub
parent 79b02b9295
commit a20a73f29f

View file

@ -46,7 +46,6 @@ namespace TLSharp.Core.Requests
}
}
stream = null;
GC.Collect();
int partnumber = 0;
long file_id = BitConverter.ToInt64(RandomByteArray(8), 0);
while (parts.Count != 0)
@ -89,7 +88,6 @@ namespace TLSharp.Core.Requests
}
}
stream = null;
GC.Collect();
int partnumber = 0;
long file_id = BitConverter.ToInt64(RandomByteArray(8), 0);
while (parts.Count != 0)