1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-09 14:17:10 +01: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;
}