@Override
    public void destroy() {
        stateManager.cleanup();

        destroyInput();
        if (audioRenderer != null) {
            audioRenderer.cleanup();
        }

        timer.reset();
    }
Do not call manually.
Callback from ContextListener.
jme3-core/src/main/java/com/jme3/app/LegacyApplication.java