| 26 | }; |
| 27 | |
| 28 | ServerApplication::~ServerApplication() |
| 29 | { |
| 30 | _globalServer = nullptr; |
| 31 | |
| 32 | if (d) { |
| 33 | if (d->stdinParser) { |
| 34 | d->stdinParser->quit(); |
| 35 | delete d->stdinParser; |
| 36 | } |
| 37 | if (d->globalPPidWatcher) { |
| 38 | d->globalPPidWatcher->stop(); |
| 39 | } |
| 40 | delete d; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | void ServerApplication::start() |
| 45 | { |