platform: Also reset connections on wake

This commit is contained in:
世界 2023-10-08 22:01:47 +08:00
parent e782d21806
commit 01ba4668b6
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -80,6 +80,7 @@ func (s *BoxService) Sleep() {
func (s *BoxService) Wake() { func (s *BoxService) Wake() {
s.pauseManager.DeviceWake() s.pauseManager.DeviceWake()
_ = s.instance.Router().ResetNetwork()
} }
var _ platform.Interface = (*platformInterfaceWrapper)(nil) var _ platform.Interface = (*platformInterfaceWrapper)(nil)