Permalink
Browse files

fix typo in ILanguageInvoker (thanks Sorien)

  • Loading branch information...
1 parent 0b36fd8 commit 51ffc370a1f044cc4b94d8547c4b6729efb18c3a @Montellese Montellese committed Sep 9, 2013
@@ -68,12 +68,12 @@ class ILanguageInvoker
virtual bool execute(const std::string &script, const std::vector<std::string> &arguments) = 0;
virtual bool stop(bool abort) = 0;
- virtual void onExectuionFailed()
+ virtual void onExecutionFailed()
{
if (m_invocationHandler)
m_invocationHandler->OnScriptEnded(this);
}
- virtual void onExectuionDone()
+ virtual void onExecutionDone()
{
if (m_invocationHandler)
m_invocationHandler->OnScriptEnded(this);
@@ -97,7 +97,7 @@ void CLanguageInvokerThread::OnExit()
if (m_invoker == NULL)
return;
- m_invoker->onExectuionDone();
+ m_invoker->onExecutionDone();
m_invocationManager->OnScriptEnded(GetId());
}
@@ -106,6 +106,6 @@ void CLanguageInvokerThread::OnException()
if (m_invoker == NULL)
return;
- m_invoker->onExectuionFailed();
+ m_invoker->onExecutionFailed();
m_invocationManager->OnScriptEnded(GetId());
}
@@ -475,7 +475,7 @@ bool CPythonInvoker::stop(bool abort)
return true;
}
-void CPythonInvoker::onExectuionFailed()
+void CPythonInvoker::onExecutionFailed()
{
PyThreadState_Swap(NULL);
PyEval_ReleaseLock();
@@ -486,7 +486,7 @@ void CPythonInvoker::onExectuionFailed()
CSingleLock lock(m_critical);
m_threadState = NULL;
- ILanguageInvoker::onExectuionFailed();
+ ILanguageInvoker::onExecutionFailed();
}
std::map<std::string, CPythonInvoker::PythonModuleInitialization> CPythonInvoker::getModules() const
@@ -42,7 +42,7 @@ class CPythonInvoker : public ILanguageInvoker
// implementation of ILanguageInvoker
virtual bool execute(const std::string &script, const std::vector<std::string> &arguments);
virtual bool stop(bool abort);
- virtual void onExectuionFailed();
+ virtual void onExecutionFailed();
// custom virtual methods
virtual std::map<std::string, PythonModuleInitialization> getModules() const;

0 comments on commit 51ffc37

Please sign in to comment.