mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
enforce keyboard.Close is always executed to restore terminal
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d633c33a19
commit
084a5ca312
@ -95,6 +95,7 @@ func (s *composeService) Up(ctx context.Context, project *types.Project, options
|
||||
if err != nil {
|
||||
logrus.Warn("could not start menu, an error occurred while starting.")
|
||||
} else {
|
||||
defer keyboard.Close() //nolint:errcheck
|
||||
isWatchConfigured := s.shouldWatch(project)
|
||||
isDockerDesktopActive := s.isDesktopIntegrationActive()
|
||||
isDockerDesktopComposeUI := s.isDesktopUIEnabled()
|
||||
|
Loading…
x
Reference in New Issue
Block a user