fix gwt: 'join' in PausableThread

This commit is contained in:
Hannes Janetzek
2014-01-20 15:39:45 +01:00
parent ab2e82a456
commit 764a62986e
2 changed files with 5 additions and 5 deletions
@@ -91,11 +91,6 @@ public abstract class TileLayer<T extends TileLoader> extends Layer implements M
for (T loader : mTileLoader) {
loader.pause();
loader.interrupt();
try {
loader.join();
} catch (InterruptedException e) {
e.printStackTrace();
}
loader.cleanup();
}
}
@@ -57,6 +57,11 @@ public abstract class PausableThread extends Thread {
synchronized (this) {
super.interrupt();
}
//try {
// join();
//} catch (InterruptedException e) {
// e.printStackTrace();
//}
}
/**