1
0
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:
Paul Licameli 2020-12-06 21:18:48 -05:00
parent a9d555bf16
commit 38b169ab7e

View File

@ -331,6 +331,7 @@ bool ProjectFileIO::OpenConnection(FilePath fileName /* = {} */)
if (!CheckVersion())
{
CloseConnection();
curConn.reset();
return false;
}