mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +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()
|
||||
{
|
||||
auto &currConn = CurrConn();
|
||||
wxASSERT(currConn);
|
||||
|
||||
// Protect...
|
||||
if (!currConn)
|
||||
{
|
||||
wxLogDebug("Closing project with no database connection");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user