mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Prevent dangling pointers to meters...
... This stops a crash that might occur when the checkpoint thread causes ProjectAudioManager::Stop() to execute but the project is in the process of closing.
This commit is contained in:
@@ -12,6 +12,7 @@ Paul Licameli split from AudacityProject.cpp
|
||||
|
||||
#include "AudioIOBase.h"
|
||||
#include "Project.h"
|
||||
#include "widgets/MeterPanelBase.h"
|
||||
|
||||
static const AudacityProject::AttachedObjects::RegisteredFactory sAudioIOKey{
|
||||
[]( AudacityProject &parent ){
|
||||
|
||||
Reference in New Issue
Block a user