SDK:
- harsher thread.stop() for NavMeshGenerator git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
df34521b14
commit
0b5f6ee4d8
@ -126,7 +126,8 @@ public class NavMeshGenerator implements Savable {
|
|||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
if (task.isAlive()) {
|
if (task.isAlive()) {
|
||||||
task.interrupt();
|
// task.interrupt();
|
||||||
|
task.stop();
|
||||||
throw new TimeoutException();
|
throw new TimeoutException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user