mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
platform: Also reset connections on wake
This commit is contained in:
parent
e782d21806
commit
01ba4668b6
|
@ -80,6 +80,7 @@ func (s *BoxService) Sleep() {
|
|||
|
||||
func (s *BoxService) Wake() {
|
||||
s.pauseManager.DeviceWake()
|
||||
_ = s.instance.Router().ResetNetwork()
|
||||
}
|
||||
|
||||
var _ platform.Interface = (*platformInterfaceWrapper)(nil)
|
||||
|
|
Loading…
Reference in a new issue