daemon: fixed deadlock issue when starting/stopping nftables queue
This commit is contained in:
parent
113be65078
commit
96f2408e01
1 changed files with 2 additions and 3 deletions
|
@ -117,7 +117,6 @@ class NftablesQueue:
|
||||||
net = self.updates.get()
|
net = self.updates.get()
|
||||||
if net is None:
|
if net is None:
|
||||||
break
|
break
|
||||||
with self.lock:
|
|
||||||
self.build_cmds(net)
|
self.build_cmds(net)
|
||||||
self.commit(net)
|
self.commit(net)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue