()
| 79 | } |
| 80 | |
| 81 | func (m *modelPipeline) Close() { |
| 82 | m.cancel() |
| 83 | ids := m.pipelines.Keys() |
| 84 | for _, id := range ids { |
| 85 | m.ClosePipeline(id) |
| 86 | } |
| 87 | return |
| 88 | } |
| 89 | |
| 90 | func (m *modelPipeline) ClosePipeline(id string) { |
| 91 | // 关闭管道 |
nothing calls this directly
no test coverage detected