Skip to content

Kill adb logcat process on test cleanup - #43

Merged
thombles merged 1 commit into
mainfrom
android-test-logcat-cleanup
Aug 17, 2026
Merged

thombles merged 1 commit into
mainfrom
android-test-logcat-cleanup

Conversation

@thombles

Copy link
Copy Markdown
Owner

Fixes #36.

The Android integration test spawned adb logcat and stored the Child in an underscore-prefixed binding that was dropped without kill or wait, so the logcat process was left running. Wrap the child in a guard that kills and waits on drop, covering both normal completion and panic.

The integration test spawned 'adb logcat' and stored the Child in an
underscore-prefixed binding that was dropped without kill or wait, so
dropping the Child did not terminate the process and orphaned logcat
processes could accumulate across runs. Wrap the Child in a guard that
kills and waits on drop, covering both normal completion and panic.

Fixes #36
@thombles
thombles merged commit 3623828 into main Aug 17, 2026
5 checks passed
@thombles
thombles deleted the android-test-logcat-cleanup branch August 17, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android integration test leaves adb logcat process running

1 participant