SDK:
- make sure FakeApplication executor is started in all cases git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10082 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
7ef0e439d4
commit
f77b953fff
@ -383,11 +383,7 @@ public class FakeApplication extends SimpleApplication {
|
||||
/*
|
||||
* Internal
|
||||
*/
|
||||
private ScheduledThreadPoolExecutor fakeAppThread;
|
||||
|
||||
public void startFakeApp() {
|
||||
fakeAppThread = new ScheduledThreadPoolExecutor(1);
|
||||
}
|
||||
private ScheduledThreadPoolExecutor fakeAppThread = new ScheduledThreadPoolExecutor(1);
|
||||
|
||||
public void stopFakeApp() {
|
||||
fakeAppThread.shutdown();
|
||||
|
@ -376,7 +376,6 @@ public class SceneApplication extends Application implements LookupProvider {
|
||||
camController.disable();
|
||||
}
|
||||
fakeApp = new FakeApplication(rootNode, guiNode, request.getManager(), cam);
|
||||
fakeApp.startFakeApp();
|
||||
request.setFakeApp(fakeApp);
|
||||
enqueue(new Callable() {
|
||||
public Object call() throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user