mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
Guarantee postcondition of ProjectFileIO::OpenConnection()
This commit is contained in:
parent
a9d555bf16
commit
38b169ab7e
@ -331,6 +331,7 @@ bool ProjectFileIO::OpenConnection(FilePath fileName /* = {} */)
|
||||
if (!CheckVersion())
|
||||
{
|
||||
CloseConnection();
|
||||
curConn.reset();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user