mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +02:00
Use wxWeakRef to avoid a dangling pointer...
... as was done before for input meter at 12983e1
This commit is contained in:
parent
469247e7ef
commit
1ed9338e6f
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user