add a comment for QProcess non-dangling pointer

This commit is contained in:
Stephen Birarda 2016-01-21 11:02:34 -08:00
parent 77b9c24d99
commit 7c9dc2e2bb

View file

@ -27,7 +27,7 @@
extern const char* NUM_FORKS_PARAMETER;
struct ACProcess {
QProcess* process;
QProcess* process; // looks like a dangling pointer, but is parented by the AssignmentClientMonitor
QString logStdoutPath;
QString logStderrPath;
};
@ -46,7 +46,7 @@ private slots:
void checkSpares();
void childProcessFinished(qint64 pid);
void handleChildStatusPacket(QSharedPointer<ReceivedMessage> message);
bool handleHTTPRequest(HTTPConnection* connection, const QUrl& url, bool skipSubHandler = false) override;
public slots: