3
0

Add support for updating backports correctly

This commit is contained in:
Prototik
2015-06-03 21:50:46 +07:00
parent 5a9c5f6f72
commit 27d13cce59
5 changed files with 48 additions and 21 deletions

View File

@ -8,10 +8,9 @@
+ try
{
- try
- {
- if (!this.running)
+ while (true)
+ {
{
- if (!this.running)
+ if (!this.running || clientSocket == null)
{
break;
@ -28,12 +27,11 @@
return;
}
@@ -109,27 +110,24 @@
continue;
@@ -110,26 +111,23 @@
}
}
+ }
}
+ }
catch (SocketTimeoutException sockettimeoutexception)
{
- break;