mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Implement review suggestion
This commit is contained in:
parent
e562e196c9
commit
efe174f605
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ func (conn *Connection) StopFirewallHandler() {
|
|||
conn.firewallHandler = nil
|
||||
|
||||
// Signal the packet handler worker that it can stop.
|
||||
conn.pktQueue <- nil
|
||||
close(conn.pktQueue)
|
||||
|
||||
// Unset the packet queue so that it can be freed.
|
||||
conn.pktQueue = nil
|
||||
|
|
Loading…
Add table
Reference in a new issue