diff --git a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java index d1c186621..e5aeb9bbb 100644 --- a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java +++ b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java @@ -426,6 +426,11 @@ public class Graph { if (output.isEmpty()) { return true; } + if (output.size() == 1) { + if (output.get(0) instanceof MarkItem) { + return true; + } + } return false; } @@ -579,8 +584,9 @@ public class Graph { output.add(new ScriptEndItem()); } } catch (Exception ex) { - Logger.getLogger(Graph.class.getName()).log(Level.SEVERE, "error during printgraph", ex); - return ret; + //Logger.getLogger(Graph.class.getName()).log(Level.SEVERE, "error during printgraph", ex); + throw ex; + //return ret; } } if (part.nextParts.size() == 2) {