labath added a comment. I'm not really familiar this code, but could something like `llvm::make_scope_exit` be useful here? Also, what is the effect of not calling Cleanup? That subsequent commands fail in some way? Could we make a test case for that?
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132397/new/ https://reviews.llvm.org/D132397 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits