Added comment for adapter_exit