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

@@ -12,7 +12,7 @@ import Articles
import RSCore
@objc(ScriptableAccount)
@MainActor final class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectContainer {
@MainActor final class ScriptableAccount: NSObject, UniqueIDScriptingObject, ScriptingObjectContainer {
let account:Account
init (_ account:Account) {
@@ -57,7 +57,7 @@ import RSCore
// I am not sure if account should prefer to be specified by name or by ID
// but in either case it seems like the accountID would be used as the keydata, so I chose ID
@objc(uniqueId)
var scriptingUniqueId:Any {
var scriptingUniqueID:Any {
return account.accountID
}