mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 06:22:21 +08: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 New Issue
Block a user