Skip to content

Stabilize runtime monitor and shell behavior#141

Closed
Vudgekek wants to merge 1 commit intoronitsingh10:mainfrom
Vudgekek:pr-runtime-shell
Closed

Stabilize runtime monitor and shell behavior#141
Vudgekek wants to merge 1 commit intoronitsingh10:mainfrom
Vudgekek:pr-runtime-shell

Conversation

@Vudgekek
Copy link

@Vudgekek Vudgekek commented Mar 8, 2026

Hardens device/process monitoring paths to reduce startup/runtime churn and improve reliability.

@klemmsmithk-droid
Copy link

klemmsmithk-droid commented Mar 8, 2026 via email

ronitsingh10 added a commit that referenced this pull request Mar 9, 2026
Based on work from #141 by @Vudgekek.

- Remove nonisolated deinit from DDCController, AudioDeviceMonitor,
  AudioProcessMonitor, DeviceVolumeMonitor (singleton-lifetime, never
  deallocated — deinits were dead code)
- Remove @ObservationIgnored nonisolated(unsafe) from monitor listener
  properties (only needed for the removed deinits)
- Snapshot matched/matchedUIDs/volumes before crossing to main thread
  in DDCController.probe() to avoid mutable state capture
- Fix setupDisplayChangeObserver to hop to @mainactor before accessing
  isolated properties
- Add outputChannelCount() to AudioDeviceID+Streams

Co-Authored-By: Vudgekek <contact@vudgekek.com>
@Vudgekek Vudgekek closed this Mar 21, 2026
@Vudgekek Vudgekek deleted the pr-runtime-shell branch March 21, 2026 05:37
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.

2 participants