| 177 | } |
| 178 | |
| 179 | void ScriptConsole::endLayer(size_t layer) |
| 180 | { |
| 181 | if (layer >= MAX_LAYERS) { |
| 182 | return; |
| 183 | } |
| 184 | std::lock_guard<std::mutex> lock(mMutex); |
| 185 | for (size_t i = layer; i < MAX_LAYERS; i++) { |
| 186 | idle(mLayers[i]); |
| 187 | } |
| 188 | idleIo(); |
| 189 | } |
| 190 | |
| 191 | void ScriptConsole::clearProgress(void) |
| 192 | { |