mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 00:21:30 +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