Browse Source

Stop has been already deprecated and will just throw error

Toni Helenius 1 year ago
parent
commit
5ee5133ab9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java

+ 1 - 2
jme3-navmesh-gen/src/com/jme3/gde/nmgen/NavMeshGenerator.java

@@ -129,8 +129,7 @@ public class NavMeshGenerator implements Savable {
         } catch (InterruptedException e) {
         }
         if (task.isAlive()) {
-//            task.interrupt();
-            task.stop();
+            task.interrupt();
             throw new TimeoutException();
         }
     }