Skip to content
Snippets Groups Projects
Commit 385e8904 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Guilhem Saurel
Browse files

Fix data race in SimpleSeqPlay

parent a6bde485
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,8 @@ SimpleSeqPlay::SimpleSeqPlay(const std::string& name)
}
void SimpleSeqPlay::load(const std::string& filename) {
state_ = 0;
using boost::escaped_list_separator;
typedef boost::tokenizer<escaped_list_separator<char> > tokenizer_t;
std::string line;
......@@ -120,8 +122,6 @@ void SimpleSeqPlay::load(const std::string& filename) {
posture_.push_back(config);
}
file.close();
state_ = 0;
}
void SimpleSeqPlay::start() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment