input.getKeyBindingManager().getKeyInput().destroy(); InputSystem.getMouseInput().destroy();
if (InputSystem.getKeyInput() != null) InputSystem.getKeyInput().destroy(); if (InputSystem.getMouseInput() != null) InputSystem.getMouseInput().destroy();
  protected void cleanup() {    LoggingSystem.getLogger().log(Level.INFO, "Cleaning up resources.");    input.getKeyBindingManager().getKeyInput().destroy();    InputSystem.getMouseInput().destroy();  }