removed a comment, changed name of script storing variable to something that makes more sense

This commit is contained in:
Joakim Kilby
2015-06-25 12:31:11 +02:00
parent 46757113fd
commit 22af992078
2 changed files with 7 additions and 8 deletions

View File

@@ -351,9 +351,9 @@ namespace openspace {
OsEng.scriptEngine()->queueScript(script);
//add script to all executed scripts
_sentScriptsMutex.lock();
_sentScripts.push_back(script);
_sentScriptsMutex.unlock();
_executedScriptsMutex.lock();
_executedScripts.push_back(script);
_executedScriptsMutex.unlock();
}
void ParallelConnection::decodeHostInfoMessage(){
@@ -545,9 +545,9 @@ namespace openspace {
}
void ParallelConnection::sendScript(const std::string script){
_sentScriptsMutex.lock();
_sentScripts.push_back(script);
_sentScriptsMutex.unlock();
_executedScriptsMutex.lock();
_executedScripts.push_back(script);
_executedScriptsMutex.unlock();
uint16_t msglen = static_cast<uint16_t>(script.length());
std::vector<char> buffer;