Fix disconnect for MQTT and add note about code signing.
This commit is contained in:
parent
9b9160405e
commit
04875a12fb
@ -70,7 +70,11 @@ On MacOS, you can setup a Launch Agent in `~/Library/LaunchAgents/com.mrgeckosme
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
```
|
||||
|
||||
For local network connection, you need to code sign your build.
|
||||
```bash
|
||||
codesign -s - --force --deep /path/to/bin/midi-request-trigger
|
||||
```
|
||||
|
||||
Start with:
|
||||
|
@ -613,5 +613,7 @@ func (r *MidiRouter) Disconnect() {
|
||||
if r.ListenerStop != nil {
|
||||
r.ListenerStop()
|
||||
}
|
||||
r.MqttClient.Disconnect(0)
|
||||
if r.MqttClient != nil {
|
||||
r.MqttClient.Disconnect(0)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user