mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Don't attempt to send shutdown which won't work anyway.
This commit is contained in:
parent
8aed93daa5
commit
c4d312ae11
@ -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