as2 export fix

This commit is contained in:
honfika@gmail.com
2015-07-15 14:24:46 +02:00
parent c0ea48896a
commit a7d5a93096

View File

@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.exporters.script;
import com.jpexs.decompiler.flash.AbortRetryIgnoreHandler;
import com.jpexs.decompiler.flash.EventListener;
import com.jpexs.decompiler.flash.RetryTask;
import com.jpexs.decompiler.flash.RunnableIOExResult;
import com.jpexs.decompiler.flash.action.Action;
import com.jpexs.decompiler.flash.configuration.Configuration;
@@ -114,6 +115,8 @@ public class ExportScriptTask implements Callable<File> {
eventListener.handleExportingEvent("script", index, count, f);
}
new RetryTask(rio, handler).run();
if (eventListener != null) {
long time = stopTime - startTime;
eventListener.handleExportedEvent("script", index, count, f + ", " + Helper.formatTimeSec(time));