Pass priority will not lock input - bottomless vault no longer deadlocks

This commit is contained in:
Maxmtg
2013-05-25 20:18:53 +00:00
parent 303e2c7159
commit fa833f79c2
2 changed files with 4 additions and 1 deletions

View File

@@ -18,7 +18,8 @@ public abstract class InputNonSyncBase extends InputBase {
}
};
if( FThreads.isEDT() )
player.getGame().getInputQueue().LockAndInvokeGameAction(pass);
FThreads.invokeInNewThread(pass);
// player.getGame().getInputQueue().LockAndInvokeGameAction(pass);
else
pass.run();
}

View File

@@ -53,6 +53,8 @@ public class InputProxy implements Observer {
@Override
public final synchronized void update(final Observable observable, final Object obj) {
//synchronized(this) {} // want to update all changes to memory
final PhaseHandler ph = game.getPhaseHandler();
if(INPUT_DEBUG)