()
| 262 | } |
| 263 | |
| 264 | public void detach() { |
| 265 | children.forEach(Device::suspend); |
| 266 | children.forEach(Device::detach); |
| 267 | Keyboard.unregisterAllHandlers(this); |
| 268 | if (this.isRunning()) { |
| 269 | this.suspend(); |
| 270 | } |
| 271 | isAttached = false; |
| 272 | _ram = null; |
| 273 | } |
| 274 | } |
no test coverage detected