================
@@ -500,19 +502,16 @@ bool
CommandObjectExpression::EvaluateExpression(llvm::StringRef expr,
void CommandObjectExpression::IOHandlerInputComplete(IOHandler &io_handler,
std::string &line) {
io_handler.SetIsDone(true);
- StreamFileSP output_sp = io_handler.GetOutputStreamFileSP();
- StreamFileSP error_sp = io_handler.GetErrorStreamFileSP();
+ LockedStreamFile locked_output_stream =
+ io_handler.GetOutputStreamFileSP()->Lock();
+ LockedStreamFile locked_error_stream =
+ io_handler.GetErrorStreamFileSP()->Lock();
----------------
JDevlieghere wrote:
Fixed in ed32d85d31999756602a7d5c4647cb6771d8f857
https://github.com/llvm/llvm-project/pull/126630
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits