Prompt Debug

Fix Combine Pipelines

Audit and fix Combine publisher chains for correctness, memory, and threading.

swiftmacosios
Insert label Combine
Prompt

Audit Combine publisher chains in this code. Fix retain cycles from missing [weak self] in sink closures, add .receive(on: DispatchQueue.main) where UI updates happen, ensure AnyCancellable is stored properly, and simplify overly complex operator chains. Replace Combine with async/await where it’s simpler.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl