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:
parent
ea112bddc1
commit
b09c923e92
@ -1650,6 +1650,10 @@ AdornedRulerPanel::AdornedRulerPanel(wxWindow* parent,
|
||||
|
||||
AdornedRulerPanel::~AdornedRulerPanel()
|
||||
{
|
||||
wxTheApp->Disconnect(EVT_AUDIOIO_CAPTURE,
|
||||
wxCommandEventHandler(AdornedRulerPanel::OnCapture),
|
||||
NULL,
|
||||
this);
|
||||
delete mBuffer;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user