From 412d651e6e11d4e972d0fa1c7ece8ef1b8b612d5 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 3 Oct 2016 11:34:30 -0400 Subject: [PATCH] Bug1511, partial: fix crash using Quit from Mac tool dock, but... ... when multiple unsaved projects are open, there is still a prompt to save only one of them. I don't yet know why. --- src/widgets/Meter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/Meter.cpp b/src/widgets/Meter.cpp index e29593fd8..de49d4bc2 100644 --- a/src/widgets/Meter.cpp +++ b/src/widgets/Meter.cpp @@ -369,7 +369,7 @@ Meter::~Meter() // LLL: This prevents a crash during termination if monitoring // is active. - if (gAudioIO->IsMonitoring()) + if (gAudioIO && gAudioIO->IsMonitoring()) gAudioIO->StopStream(); }