NSPasteboard mutates itself from multiple threads — This can lead to unpredictable behavior and memory corruption when handling file promises.
SwiftUI's onDrop method thread execution is inconsistent — Developers may face challenges ensuring proper thread safety, especially when relying on main-thread-specific behaviors.
Fique de olho
Thread-safety issues with NSPasteboard need careful management in multi-threaded applications to avoid crashes and data corruption.
Wade Tregaskis: NSPasteboard mutates itself simultaneously from the main thread and the global concurrent Dispatch pool, w.r.t. to its internal type cache.