Actually, afaik, in this particular case it's not reliant on `_controllerScriptingInterface`, it's further down:

```c++
connect(scriptEngine, SIGNAL(finished(const QString&)), scriptEngine, SLOT(deleteLater()));
connect(workerThread, SIGNAL(finished()), workerThread, SLOT(deleteLater()));
```

I agree that it's not always obvious, though.