1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-04 06:29:07 +02:00

Fix crash reported by Bill

Steps to reproduce: 
1) Launch Audacity
2) File > New Project
3) Close second (new) project
4) Click Record button - Crash
This commit is contained in:
stevethefiddle@gmail.com 2015-01-06 18:24:00 +00:00
parent ea112bddc1
commit b09c923e92

View File

@ -1650,6 +1650,10 @@ AdornedRulerPanel::AdornedRulerPanel(wxWindow* parent,
AdornedRulerPanel::~AdornedRulerPanel()
{
wxTheApp->Disconnect(EVT_AUDIOIO_CAPTURE,
wxCommandEventHandler(AdornedRulerPanel::OnCapture),
NULL,
this);
delete mBuffer;
}