mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 03:03:10 +01:00
Use wxWeakRef to avoid a dangling pointer...
... as was done before for input meter at 12983e1
This commit is contained in:
@@ -538,7 +538,7 @@ protected:
|
|||||||
|
|
||||||
AudacityProject *mOwningProject;
|
AudacityProject *mOwningProject;
|
||||||
wxWeakRef<MeterPanel> mInputMeter{};
|
wxWeakRef<MeterPanel> mInputMeter{};
|
||||||
MeterPanel *mOutputMeter;
|
wxWeakRef<MeterPanel> mOutputMeter{};
|
||||||
bool mUpdateMeters;
|
bool mUpdateMeters;
|
||||||
volatile bool mUpdatingMeters;
|
volatile bool mUpdatingMeters;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user