Skip to content

Commit

Permalink
chore: clear exit code on cosnole when allready exsits
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Jul 21, 2024
1 parent a92f0dd commit 24bfcef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/core/services/console_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ func (cm *ConsoleManager) AddConsoleWithIoReader(id string, consoleType domain.C
} else {
console = cm.consoles[id]
newChannel = cm.consoles[id].Channel
//TODO: whe need a better way to manager mutltiple consoles for one command. We probabl consoles map[string][]*domain.Console instead of consoles map[string]*domain.Console
cm.consoles[id].Exit = nil
}

//broadcast reader into channel (maybe increase chunk size?)
Expand Down

0 comments on commit 24bfcef

Please sign in to comment.