mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-10 17:35:54 +00:00
sync timer schedule
This commit is contained in:
@@ -2515,8 +2515,10 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
}
|
||||
}
|
||||
};
|
||||
if (timer != null) {
|
||||
timer.schedule(task, msDelay);
|
||||
synchronized (ImagePanel.this) {
|
||||
if (timer != null) {
|
||||
timer.schedule(task, msDelay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user