Browse Source

platform: Also reset connections on wake

世界 2 years ago
parent
commit
01ba4668b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      experimental/libbox/service.go

+ 1 - 0
experimental/libbox/service.go

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