Skip to content

Commit d977ffe

Browse files
committed
Close daemon gRPC connection on test cleanup
1 parent f21e86c commit d977ffe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/integrationtest/arduino-cli.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func NewArduinoCliWithinEnvironment(env *testsuite.Environment, config *ArduinoC
8181
// CleanUp closes the Arduino CLI client.
8282
func (cli *ArduinoCLI) CleanUp() {
8383
if cli.proc != nil {
84+
cli.daemonConn.Close()
8485
cli.proc.Kill()
8586
cli.proc.Wait()
8687
}

0 commit comments

Comments
 (0)