Fix crash

This commit is contained in:
Aditya Kulkarni
2019-02-12 14:52:01 -08:00
parent bf9de51042
commit 3a2ada6689

View File

@@ -85,7 +85,9 @@ WormholeClient::~WormholeClient() {
m_webSocket->close();
}
timer->stop();
if (timer)
timer->stop();
delete timer;
}