This commit is contained in:
honfika@gmail.com
2015-02-11 22:34:32 +01:00
parent 914bb09355
commit 6de7c84f60
2 changed files with 15 additions and 10 deletions

View File

@@ -1145,13 +1145,17 @@ public final class SWF implements SWFContainerItem, Timelined {
}
};
int currentIndex = index.getAndIncrement();
synchronized (ABC.class) {
eventListener.handleExportingEvent("script", currentIndex, count, path);
if (eventListener != null) {
synchronized (ABC.class) {
eventListener.handleExportingEvent("script", currentIndex, count, path);
}
}
new RetryTask(rio, handler).run();
synchronized (ABC.class) {
long time = stopTime - startTime;
eventListener.handleExportedEvent("script", currentIndex, count, path + ", " + Helper.formatTimeSec(time));
if (eventListener != null) {
synchronized (ABC.class) {
long time = stopTime - startTime;
eventListener.handleExportedEvent("script", currentIndex, count, path + ", " + Helper.formatTimeSec(time));
}
}
return rio.result;
}