Only stop MCU if started before.

This commit is contained in:
Joachim Bauch
2022-03-23 11:46:17 +01:00
parent 57eb2388ca
commit 9f86c80c33
+3 -1
View File
@@ -357,7 +357,9 @@ func (s *ProxyServer) Stop() {
return
}
s.mcu.Stop()
if s.mcu != nil {
s.mcu.Stop()
}
s.tokens.Close()
}