Skip to content

Prevent adb.exe error dialogs when Windows shuts down - #1256

Merged
manuelmayer-dev merged 1 commit into
mainfrom
fix/skip-adb-spawns-on-session-end
Oct 8, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
fix/skip-adb-spawns-on-session-end

Conversation

@manuelmayer-dev

@manuelmayer-dev manuelmayer-dev commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Shutting down Windows with ADB enabled could show an adb.exe error dialog (0xc0000142), because the host kept starting adb while the session ended. The host now starts no adb once Windows reports the session is ending or the bootstrapper stops it for a session end.

Testing

Full solution build and tests pass (Plugin.Cli's A_project_is_actually_built_before_its_output_is_resolved fails locally on main too), with new tests for the refused spawns, a shutdown that gets cancelled, the shutdown reason and the Windows shutdown check. On a running host, the session-end stop request is accepted over loopback and refused on the public port. Not yet verified on a real Windows shutdown.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added bug Something isn't working area:host Host: Domain, Application, Infrastructure area:bootstrapper Tauri bootstrapper and native window area:docs The published developer documentation site platform:windows Windows-specific labels Oct 8, 2026
@manuelmayer-dev
manuelmayer-dev merged commit 95268dd into main Oct 8, 2026
17 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the fix/skip-adb-spawns-on-session-end branch October 8, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bootstrapper Tauri bootstrapper and native window area:docs The published developer documentation site area:host Host: Domain, Application, Infrastructure bug Something isn't working platform:windows Windows-specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant