v0.6.2d: reverted a fix from 0.6.2c which caused deadlocks

This commit is contained in:
Evan Debenham 2017-11-16 12:30:40 -05:00 committed by Evan Debenham
parent 62c5aeffc8
commit 597699770f

View File

@ -300,7 +300,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
flashTime = FLASH_INTERVAL;
}
public synchronized void add( State state ) {
public void add( State state ) {
switch (state) {
case BURNING:
burning = emitter();
@ -350,7 +350,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
}
}
public synchronized void remove( State state ) {
public void remove( State state ) {
switch (state) {
case BURNING:
if (burning != null) {
@ -414,6 +414,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
}
@Override
//syncronized due to EmoIcon handling
public synchronized void update() {
super.update();