mirror of
https://github.com/safing/portmaster
synced 2025-09-02 18:49:14 +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
|
conn.firewallHandler = nil
|
||||||
|
|
||||||
// Signal the packet handler worker that it can stop.
|
// 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.
|
// Unset the packet queue so that it can be freed.
|
||||||
conn.pktQueue = nil
|
conn.pktQueue = nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue