Skip to content

Commit b5cad40

Browse files
committed
Fix macOS example build issue
1 parent 39c59d9 commit b5cad40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Example/HostingExample/AppDelegate.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ enum App {
4444
}
4545
}
4646

47-
class AppDelegate: NSObject, NSApplicationDelegate {
47+
@MainActor
48+
final class AppDelegate: NSObject, NSApplicationDelegate {
4849
static let shared = AppDelegate()
4950

5051
lazy var windowController = WindowController()

0 commit comments

Comments
 (0)