Skip to content

Commit

Permalink
Fixed monitor dead-locking package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Oct 10, 2024
1 parent 9bb4618 commit 5768352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/service_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func (s *arduinoCoreServerImpl) Monitor(stream rpc.ArduinoCoreService_MonitorSer
if err != nil {
return err
}
defer release()
monitor, boardSettings, err := findMonitorAndSettingsForProtocolAndBoard(pme, openReq.GetPort().GetProtocol(), openReq.GetFqbn())
release()
if err != nil {
return err
}
Expand Down

0 comments on commit 5768352

Please sign in to comment.