Skip to content

Commit 3c19430

Browse files
committed
Clean up release check warnings
1 parent a0d67db commit 3c19430

3 files changed

Lines changed: 44 additions & 2 deletions

File tree

apps/macos/Sources/HmmMacOS/Services/GlobalHotkeyManager.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ enum HotkeyRegistrationResult {
77
case failed(OSStatus)
88
}
99

10+
@MainActor
1011
final class GlobalHotkeyManager {
1112
static let shared = GlobalHotkeyManager()
1213

@@ -33,7 +34,7 @@ final class GlobalHotkeyManager {
3334
{ _, _, userData in
3435
guard let userData else { return noErr }
3536
let manager = Unmanaged<GlobalHotkeyManager>.fromOpaque(userData).takeUnretainedValue()
36-
DispatchQueue.main.async {
37+
Task { @MainActor in
3738
manager.action?()
3839
}
3940
return noErr

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ authors = [{ name = "Sonic Field" }]
99
dependencies = [
1010
"fastapi>=0.115",
1111
"httpx>=0.27",
12+
"httpx2>=2.5.0",
1213
"jsonschema>=4.22",
1314
"numpy>=1.26",
1415
"pydantic>=2.8",
1516
"scipy>=1.12",
1617
"soundfile>=0.12",
17-
"uvicorn[standard]>=0.30"
18+
"uvicorn[standard]>=0.30",
1819
]
1920

2021
[project.optional-dependencies]

uv.lock

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)