close process in destructor

This commit is contained in:
Evgenii Alekseev 2019-12-15 11:31:49 +03:00
parent e0df575aa9
commit 0f19bce80d

View File

@ -42,6 +42,9 @@ NetworkSource::NetworkSource(QObject *_parent, const QStringList &_args)
NetworkSource::~NetworkSource() NetworkSource::~NetworkSource()
{ {
qCDebug(LOG_ESS) << __PRETTY_FUNCTION__; qCDebug(LOG_ESS) << __PRETTY_FUNCTION__;
m_process->kill();
m_process->deleteLater();
} }