mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-19 15:44:20 +01:00
Guarantee postcondition of ProjectFileIO::OpenConnection()
This commit is contained in:
@@ -331,6 +331,7 @@ bool ProjectFileIO::OpenConnection(FilePath fileName /* = {} */)
|
||||
if (!CheckVersion())
|
||||
{
|
||||
CloseConnection();
|
||||
curConn.reset();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user