mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
ProjectFileIO::CloseProject does not assert that project was open
This commit is contained in:
parent
38b169ab7e
commit
900bf44219
@ -2180,11 +2180,9 @@ bool ProjectFileIO::OpenProject()
|
|||||||
bool ProjectFileIO::CloseProject()
|
bool ProjectFileIO::CloseProject()
|
||||||
{
|
{
|
||||||
auto &currConn = CurrConn();
|
auto &currConn = CurrConn();
|
||||||
wxASSERT(currConn);
|
|
||||||
|
|
||||||
// Protect...
|
|
||||||
if (!currConn)
|
if (!currConn)
|
||||||
{
|
{
|
||||||
|
wxLogDebug("Closing project with no database connection");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user