| 189 | } |
| 190 | |
| 191 | void ScriptConsole::clearProgress(void) |
| 192 | { |
| 193 | std::lock_guard<std::mutex> lock(mMutex); |
| 194 | for (auto& layer : mLayers) { |
| 195 | layer = Layer{}; |
| 196 | } |
| 197 | mIo = Layer{}; |
| 198 | mIoNote.clear(); |
| 199 | // The one call that says "no progress at all any more", so it is also the |
| 200 | // one that gives the reserved slots back. |
| 201 | mLayerSlots = 0; |
| 202 | mIoSlot = false; |
| 203 | } |
| 204 | |
| 205 | void ScriptConsole::setIoNote(std::string note) |
| 206 | { |
no test coverage detected