diff --git a/libqethereum/QEthereum.cpp b/libqethereum/QEthereum.cpp index 34198b4d8..08165d9db 100644 --- a/libqethereum/QEthereum.cpp +++ b/libqethereum/QEthereum.cpp @@ -33,6 +33,7 @@ QWebThree::QWebThree(QObject* _p): QObject(_p) QWebThree::~QWebThree() { + clientDieing(); } static QString toJsonRpcBatch(std::vector const& _watches, QString _method) @@ -86,8 +87,8 @@ void QWebThree::clearWatches() void QWebThree::clientDieing() { - this->disconnect(); clearWatches(); + this->disconnect(); } static QString formatInput(QJsonObject const& _object)