Skip to content

Commit

Permalink
macOS / Linux: fixed: CodeLite restart broken
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Nov 17, 2024
1 parent c43b4c4 commit bea53f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LiteEditor/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1141,15 +1141,14 @@ void CodeLiteApp::FinalizeShutdown()
// flush any saved changes to the configuration file
clConfig::Get().Save();

#if 0
#if defined(__WXMAC__) || defined(__WXGTK__)
if (m_restartCodeLite) {
// Execute new CodeLite instance
if (!m_restartWD.empty()) {
::wxSetWorkingDirectory(m_restartWD);
}
clSYSTEM() << "Restarting CodeLite:" << GetRestartCommand() << endl;
::wxExecute(GetRestartCommand(), wxEXEC_ASYNC | wxEXEC_MAKE_GROUP_LEADER);
wxSleep(1);
}
#endif

Expand Down

0 comments on commit bea53f1

Please sign in to comment.