Require frames to be crashed too to not map, adds +100

This commit is contained in:
Adam
2016-02-13 18:48:43 -05:00
parent bcc74c6256
commit 71e0a6d996
3 changed files with 3 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ public class MappingExecutorUtil
if (!mi1.isSame(p1, p2))
{
mappings.crashed = true;
p1.getFrame().stop();
p2.getFrame().stop();
e.paused = e2.paused = false;

View File

@@ -14,6 +14,7 @@ public class ParallelExecutorMapping
private Map<Object, Object> map = new HashMap<>();
//private List<Object> order = new ArrayList<>();
public Method m1, m2;
public boolean crashed;
public ParallelExecutorMapping(ClassGroup group, ClassGroup group2)
{

View File

@@ -408,7 +408,7 @@ public class MapStaticTest
ParallelExecutorMapping mappings = MappingExecutorUtil.map(m1, m2);
if (mappings.getMap().isEmpty())
if (mappings.getMap().isEmpty() && mappings.crashed)
return;
mappings.map(m1, m2);