1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

Use wxWeakRef to avoid a dangling pointer...

... as was done before for input meter at 12983e1
This commit is contained in:
Paul Licameli 2019-05-23 12:52:18 -04:00
parent 469247e7ef
commit 1ed9338e6f

View File

@ -538,7 +538,7 @@ protected:
AudacityProject *mOwningProject;
wxWeakRef<MeterPanel> mInputMeter{};
MeterPanel *mOutputMeter;
wxWeakRef<MeterPanel> mOutputMeter{};
bool mUpdateMeters;
volatile bool mUpdatingMeters;