浏览代码

platform: Also reset connections on wake

世界 2 年之前
父节点
当前提交
01ba4668b6
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)