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:
@@ -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//
|
||||
|
||||
|
||||
Reference in New Issue
Block a user