mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Fix incorrect usage of PushFunc in status package
This commit is contained in:
parent
f496330b35
commit
67f0a98857
1 changed files with 5 additions and 1 deletions
|
@ -89,5 +89,9 @@ func pushSystemStatus() {
|
|||
return
|
||||
}
|
||||
|
||||
pushUpdate(buildSystemStatus())
|
||||
record := buildSystemStatus()
|
||||
record.Lock()
|
||||
defer record.Unlock()
|
||||
|
||||
pushUpdate(record)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue