Skip to content

Commit ba47ba2

Browse files
committed
allow OcaAgent state to be serialized
1 parent d7d73cb commit ba47ba2

File tree

1 file changed

+1
-1
lines changed
  • Sources/SwiftOCADevice/OCC/ControlClasses

1 file changed

+1
-1
lines changed

Sources/SwiftOCADevice/OCC/ControlClasses/Root.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ open class OcaRoot: CustomStringConvertible, Codable, Sendable, _OcaObjectKeyPat
380380

381381
precondition(objectNumber != OcaInvalidONo)
382382

383-
guard self is OcaWorker || self is OcaManager else {
383+
guard self is OcaWorker || self is OcaManager || self is OcaAgent else {
384384
return [:]
385385
}
386386

0 commit comments

Comments
 (0)