Fix various concurrency issues.

This commit is contained in:
Brent Simmons committed 2025-11-18 13:25:47 -08:00
1 parent 653789b913
commit 8f57f914dd
39 files changed
+248 -424

No files matched your search

@@ -19,18 +19,18 @@
import Foundation
import Articles
protocol AppDelegateAppleEvents {
@MainActor protocol AppDelegateAppleEvents {
func installAppleEventHandlers()
func getURL(_ event: NSAppleEventDescriptor, _ withReplyEvent: NSAppleEventDescriptor)
}
protocol ScriptingAppDelegate {
@MainActor protocol ScriptingAppDelegate {
var scriptingCurrentArticle: Article? {get}
var scriptingSelectedArticles: [Article] {get}
var scriptingMainWindowController:ScriptingMainWindowController? {get}
}
extension AppDelegate : AppDelegateAppleEvents {
extension AppDelegate: AppDelegateAppleEvents {
// MARK: GetURL Apple Event