mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
Fixed deadlocks that could occur when using python for breakpoints, operating system plugins, and other async python usage.
<rdar://problem/16054348> <rdar://problem/16040833> llvm-svn: 201372
This commit is contained in:
@@ -156,7 +156,10 @@ lldb_private::DisableLog (const char **categories, Stream *feedback_strm)
|
||||
}
|
||||
log->GetMask().Reset (flag_bits);
|
||||
if (flag_bits == 0)
|
||||
{
|
||||
log->SetStream(lldb::StreamSP());
|
||||
g_log_enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user