From 0b5f6ee4d8a4fbd6014811bd9bc484a93898d08d Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 8 Jan 2012 01:53:58 +0000 Subject: [PATCH] SDK: - harsher thread.stop() for NavMeshGenerator git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/nmgen/NavMeshGenerator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java index 305fd196c..4799deb01 100644 --- a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java +++ b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java @@ -126,7 +126,8 @@ public class NavMeshGenerator implements Savable { } catch (InterruptedException e) { } if (task.isAlive()) { - task.interrupt(); +// task.interrupt(); + task.stop(); throw new TimeoutException(); } }