()
| 282 | }() |
| 283 | return nil |
| 284 | } |
| 285 | |
| 286 | func (c *SessionController) Abort() { |
| 287 | c.engine.Abort() |
| 288 | c.submitMu.Lock() |
| 289 | cancel := c.submitCancel |
| 290 | c.submitMu.Unlock() |
| 291 | if cancel != nil { |
| 292 | cancel() |
| 293 | } |
| 294 | c.emitStatus("aborted", nil) |
| 295 | } |
| 296 | |
| 297 | func (c *SessionController) Shutdown() { |
| 298 | c.Abort() |
| 299 | if c.engine != nil { |
| 300 | c.engine.Shutdown() |
| 301 | } |
no test coverage detected