mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 07:30:48 +00:00
Tag preview in dump view
This commit is contained in:
@@ -57,6 +57,8 @@ public final class FlashPlayerPanel extends Panel implements Closeable, MediaDis
|
||||
|
||||
private boolean stopped = true;
|
||||
|
||||
private boolean closed = false;
|
||||
|
||||
private float frameRate;
|
||||
|
||||
@Override
|
||||
@@ -197,7 +199,9 @@ public final class FlashPlayerPanel extends Panel implements Closeable, MediaDis
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
if (closed) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
ShockwaveFlash flash1 = flash;
|
||||
|
||||
@@ -308,8 +312,9 @@ public final class FlashPlayerPanel extends Panel implements Closeable, MediaDis
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
public synchronized void close() throws IOException {
|
||||
timer.cancel();
|
||||
closed = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user