Moved thread to background

This commit is contained in:
2015-10-19 18:52:45 +02:00
parent 891a3e0171
commit cd10139853
+2
View File
@@ -50,6 +50,7 @@ namespace ErgometerServer
//Run client on new thread
Thread thread = new Thread(new ThreadStart(cl.run));
thread.IsBackground = true;
thread.Start();
}
}
@@ -74,6 +75,7 @@ namespace ErgometerServer
clients.Remove(clth);
doctor = new DoctorThread(client, this);
Thread thread = new Thread(new ThreadStart(doctor.run));
thread.IsBackground = true;
thread.Start();
}