Skip to content

close --shutdown: wait for the emulator process to exit #4807

Closed

Description

@thymikee

Follow-up from the #4539 review (#4539 (comment)).

Plain close confirms that the emulator process this session launched has exited, and falls back to a pid stop. close --shutdown only asks the device to stop (adb emu kill) and returns; it does not wait for the host process to exit.

Expected: close --shutdown on a local Android emulator waits, within the existing shutdown budget, for the emulator process to exit, and warns when it cannot confirm the exit. It keeps stopping the device whatever the launch identity says.

Acceptance: a routed test for the confirmed and unconfirmed outcomes, and one live run on a dedicated AVD showing the pid gone when the command returns.

Activity

  1. added this to the 0.22 - lean core milestone on Nov 20, 2026
  2. apex-sentinel-staging commented on Nov 20, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: feature

    The issue describes current behavior where the shutdown command returns before the emulator host process exits and requests added waiting, warning, tests, and a live validation run.

  3. thymikee commented on Nov 20, 2026

    @thymikee
    MemberAuthor

    Done in #4815 (merged into 0.22 at 5a9eb42). Live run: #4815 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions