Skip to content

Commit 5768352

Browse files
committed
Fixed monitor dead-locking package manager
1 parent 9bb4618 commit 5768352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/service_monitor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ func (s *arduinoCoreServerImpl) Monitor(stream rpc.ArduinoCoreService_MonitorSer
125125
if err != nil {
126126
return err
127127
}
128-
defer release()
129128
monitor, boardSettings, err := findMonitorAndSettingsForProtocolAndBoard(pme, openReq.GetPort().GetProtocol(), openReq.GetFqbn())
129+
release()
130130
if err != nil {
131131
return err
132132
}

0 commit comments

Comments
 (0)