mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-19 15:44:20 +01:00
ProjectFileIO::CloseProject does not assert that project was open
This commit is contained in:
@@ -2180,11 +2180,9 @@ bool ProjectFileIO::OpenProject()
|
||||
bool ProjectFileIO::CloseProject()
|
||||
{
|
||||
auto &currConn = CurrConn();
|
||||
wxASSERT(currConn);
|
||||
|
||||
// Protect...
|
||||
if (!currConn)
|
||||
{
|
||||
wxLogDebug("Closing project with no database connection");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user