(flag: boolean)
| 305 | */ |
| 306 | @action |
| 307 | private setSuspense(flag: boolean) { |
| 308 | if (!this._opened && !flag) { |
| 309 | return |
| 310 | } |
| 311 | this._suspended = flag |
| 312 | this.simulator?.setSuspense(flag) |
| 313 | if (!flag) { |
| 314 | this.project.checkExclusive(this) |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | suspense() { |
| 319 | this.setSuspense(true) |
no test coverage detected