sfu2 wrote: Basically, this patch fixes the stale retained-ProcessSP case after DeleteTarget. I don’t currently see a normal path for a live non-finalized lldb_private::Process to lose its Target though. https://github.com/llvm/llvm-project/pull/192842