| 33 | } |
| 34 | |
| 35 | GradleAsynParse::~GradleAsynParse() |
| 36 | { |
| 37 | if (d) { |
| 38 | if (d->thread) { |
| 39 | if (d->thread->isRunning()) |
| 40 | d->thread->quit(); |
| 41 | d->thread->wait(); |
| 42 | d->thread->deleteLater(); |
| 43 | d->thread = nullptr; |
| 44 | } |
| 45 | delete d; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | void GradleAsynParse::parseProject(const dpfservice::ProjectInfo &info) |
| 50 | { |