mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-15 07:22:49 +03:00
Prevent crashes when restarting the LSP server.
This commit is contained in:
@@ -702,18 +702,14 @@ bool ProjectBuildManager::hasCleanCommands( const std::string& name ) {
|
||||
|
||||
void ProjectBuildManager::cancelBuild() {
|
||||
mCancelBuild = true;
|
||||
if ( mProcess ) {
|
||||
mProcess->destroy();
|
||||
if ( mProcess )
|
||||
mProcess->kill();
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectBuildManager::cancelRun() {
|
||||
mCancelRun = true;
|
||||
if ( mProcessRun ) {
|
||||
mProcessRun->destroy();
|
||||
if ( mProcessRun )
|
||||
mProcessRun->kill();
|
||||
}
|
||||
}
|
||||
|
||||
ProjectBuildConfiguration ProjectBuildManager::getConfig() const {
|
||||
|
||||
Reference in New Issue
Block a user