Improve plugin console diagnostics.

This commit is contained in:
David Anderson
2015-10-31 17:30:33 -07:00
parent 87e9dee78b
commit 59623695af
2 changed files with 36 additions and 63 deletions
+4 -2
View File
@@ -237,8 +237,10 @@ public:
return m_EnteredSecondPass;
}
bool HasErrorOrFail() const {
return m_status == Plugin_Error || m_status == Plugin_Failed;
bool IsInErrorState() const {
if (m_status == Plugin_Running || m_status == Plugin_Loaded)
return false;
return true;
}
bool TryCompile();