mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +02:00
Comment about missing/broken ERR_HANDLING.
This commit is contained in:
parent
2a4794760c
commit
1ffe7367a3
@ -514,6 +514,12 @@ bool DirManager::SetProject(wxString& newProjPath, wxString& newProjName, const
|
||||
{
|
||||
BlockFilePtr b = iter->second.lock();
|
||||
if (b) {
|
||||
// FIXME: TRAP_ERR
|
||||
// JKC: The 'success' variable and recovery strategy looks
|
||||
// broken/bogus to me. Would need to be using &= to catch
|
||||
// failure in one of the copies/moves. Besides which,
|
||||
// our temporary files are going to be deleted when we exit
|
||||
// anyway, if saving from temporary to named project.
|
||||
if (b->IsLocked())
|
||||
success = CopyToNewProjectDirectory( &*b ), copying = true;
|
||||
else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user