mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Require UndoManager to have empty history when destroying it...
...which is a justified assumption now. Do not call ClearStates(). Do not attempt to repopulate ConnectionPtr if the project is being destroyed.
This commit is contained in:
@@ -89,7 +89,7 @@ UndoManager::UndoManager( AudacityProject &project )
|
||||
|
||||
UndoManager::~UndoManager()
|
||||
{
|
||||
ClearStates();
|
||||
wxASSERT( stack.empty() );
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user