A hail mary to fix the deadlocking of request/responses in https over the internet (slow connections). Not sure if this will work at all.

Tried to fix the null target exception (very strange since it should be possible) in the ThreadService.
This commit is contained in:
wcrisman
2014-07-17 12:19:22 -07:00
parent c48c065265
commit 499a70091b
2 changed files with 7 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ public class ThreadService {
//Wait until the thread is told to run again//
try {
//Make sure we don't have a target.//
if(getTarget() == null) {
if((target = getTarget()) == null) {
//Wait for the next run of this thread//
wait();
}//if//
@@ -154,8 +154,7 @@ public class ThreadService {
catch(InterruptedException e) {
return;
}//catch//
target = getTarget();
setTarget(null);
}//synchronized//