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:
Greg Clayton
2014-02-13 23:34:38 +00:00
parent 967bf5813f
commit e98008cc58
10 changed files with 129 additions and 57 deletions

View File

@@ -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;