1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 15:20:15 +02:00

Split AudacityApp::OnInit() into two parts

This commit is contained in:
Paul Licameli 2020-12-01 21:23:19 -05:00
parent 596032c42f
commit 2cce830601
2 changed files with 6 additions and 0 deletions

View File

@ -1269,6 +1269,11 @@ bool AudacityApp::OnInit()
return false;
}
return InitPart2();
}
bool AudacityApp::InitPart2()
{
// Make sure the temp dir isn't locked by another process.
{
auto key =

View File

@ -43,6 +43,7 @@ class AudacityApp final : public wxApp {
AudacityApp();
~AudacityApp();
bool OnInit(void) override;
bool InitPart2();
int OnExit(void) override;
void OnFatalException() override;
bool OnExceptionInMainLoop() override;