Don't notify via Growl if viewer is shutting down

Ansariel 2018-01-21 15:30:22 +01:00
parent 9575765bd2
commit 50afc63c64
1 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,11 @@ void GrowlManager::loadConfig()
void GrowlManager::performNotification(const std::string& title, const std::string& message, const std::string& type)
{
if (LLAppViewer::instance()->isExiting())
{
return;
}
static LLCachedControl<bool> enabled(gSavedSettings, "FSEnableGrowl");
if (!enabled)
{