mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-11-02 20:44:00 +08:00
Protect Nest API from fail on stop
This commit is contained in:
@@ -281,5 +281,8 @@ func (a *API) StartExtendStreamTimer() {
|
||||
}
|
||||
|
||||
func (a *API) StopExtendStreamTimer() {
|
||||
if a.extendTimer == nil {
|
||||
return
|
||||
}
|
||||
a.extendTimer.Stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user