Fix: clear IP data when VPN is stopped

This commit is contained in:
Quentin McGaw (desktop)
2021-09-06 13:28:05 +00:00
parent f9cb71027c
commit 6b6caa435f
5 changed files with 9 additions and 7 deletions

View File

@@ -7,3 +7,7 @@ import (
func (l *Loop) GetData() (data models.IPInfoData) {
return l.state.GetData()
}
func (l *Loop) SetData(data models.IPInfoData) {
l.state.SetData(data)
}