| 174 | } |
| 175 | |
| 176 | void QmitkPipInstaller::AbandonInstall() |
| 177 | { |
| 178 | // Only act after a failed install. After a successful install the venv |
| 179 | // belongs to the consumer; while an operation is in progress the consumer |
| 180 | // should call Cancel() instead. |
| 181 | if (m_State != State::Failed) |
| 182 | return; |
| 183 | |
| 184 | this->RemoveCreatedVirtualEnv(); |
| 185 | } |
| 186 | |
| 187 | void QmitkPipInstaller::Cancel() |
| 188 | { |
no test coverage detected