protected void destroyInput() {
        if (mouseInput != null) {
            mouseInput.destroy();
        }

        if (keyInput != null) {
            keyInput.destroy();
        }

        if (joyInput != null) {
            joyInput.destroy();
        }

        if (touchInput != null) {
            touchInput.destroy();
        }

        inputManager = null;
    }
Do not call manually.
Callback from ContextListener.
jme3-core/src/main/java/com/jme3/app/LegacyApplication.java