mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-10-23 08:07:35 -06:00
[PR #1874] Fix concurrency bugs, DDC reliability, crashes, and memory leaks #1318
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
information
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github-starred/MonitorControl#1318
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MonitorControl/MonitorControl/pull/1874
Author: @MyronKoch
Created: 5/29/2026
Status: 🔄 Open
Base:
main← Head:fix-concurrency-safety📝 Commits (2)
85b5a65Fix concurrency bugs, DDC reliability, crashes, and memory leaks5afd215Address review feedback on concurrency and DDC fixes📊 Changes
8 files changed (+132 additions, -81 deletions)
View changed files
📝
MonitorControl/Model/Display.swift(+32 -21)📝
MonitorControl/Model/OtherDisplay.swift(+24 -9)📝
MonitorControl/Support/AppDelegate.swift(+48 -21)📝
MonitorControl/Support/Arm64DDC.swift(+12 -2)📝
MonitorControl/Support/DisplayManager.swift(+5 -19)📝
MonitorControl/Support/MenuHandler.swift(+2 -1)📝
MonitorControl/Support/SliderHandler.swift(+2 -6)📝
MonitorControl/View Controllers/Preferences/MainPrefsViewController.swift(+7 -2)📄 Description
Summary
Fix pass addressing thread safety, DDC communication reliability, crash-inducing edge cases, and resource leaks. Rebased onto current
main; review feedback addressed in a follow-up commit.Thread Safety
DDC Reliability
Crash Fixes
Cleanup
Testing
Tested on an M3 Max with four displays (built-in plus three external TVs over HDMI and DisplayLink). Verified smooth brightness, sleep/wake recovery, and slider responsiveness. Surgical fixes only, no new features and no UI changes.
Note: a clean checkout of
maincurrently fails to build on recent Xcode because MACOSX_DEPLOYMENT_TARGET is 10.14 while Xcode floors at 12.0. That is pre-existing and untouched here; builds were verified with an override.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.