()
| 247 | } |
| 248 | |
| 249 | public void resume() { |
| 250 | // Resuming children pre-emptively might lead to unexpected behavior |
| 251 | // Don't do that unless we really mean to (such as cold-starting the computer) |
| 252 | // children.forEach(Device::resume); |
| 253 | if (!isRunning()) { |
| 254 | setRun(true); |
| 255 | waitCycles = 0; |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | public void attach() { |
| 260 | isAttached = true; |
no test coverage detected