mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-08 07:10:32 +00:00
Don't attempt to send shutdown which won't work anyway.
This commit is contained in:
parent
869175bc06
commit
cd41eb3280
@ -37,8 +37,6 @@ Network::Network()
|
||||
sendIpify();
|
||||
connect(&m_networkManager, &QNetworkAccessManager::sslErrors, this,
|
||||
&Network::handleSslErrors);
|
||||
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, this,
|
||||
&Network::sendShutdown);
|
||||
}
|
||||
|
||||
void Network::setActive(bool b)
|
||||
@ -210,13 +208,6 @@ void Network::sendStartup()
|
||||
sendMixpanelEvent("startup");
|
||||
}
|
||||
|
||||
void Network::sendShutdown()
|
||||
{
|
||||
if (!m_usageStatsActive)
|
||||
return;
|
||||
sendMixpanelEvent("shutdown");
|
||||
}
|
||||
|
||||
void Network::sendCheckForUpdates()
|
||||
{
|
||||
if (!m_usageStatsActive)
|
||||
|
Loading…
Reference in New Issue
Block a user