You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there something wrong with this code? Object.connections_smobjs[self.connection] = \
One firewall corresponds to one connection. Therefore, there is only one connection. So it go in if self.connection not in Object.connections_senders the first time, and never get in again. This code (Object.connections_smobjs[self.connection] = \ )should not be indented.
If indented, then connections_senders will only increase and never remove. The memory will leak this way. Am i right?
Because we encountered a memory leak on firewalld, the final location is this indentation caused. I look forward to your reply, although you don't maintain slip anymore
Is there something wrong with this code?
Object.connections_smobjs[self.connection] = \
One firewall corresponds to one
connection
. Therefore, there is only oneconnection
. So it go inif self.connection not in Object.connections_senders
the first time, and never get in again. This code (Object.connections_smobjs[self.connection] = \
)should not be indented.If indented, then connections_senders will only increase and never remove. The memory will leak this way. Am i right?
Because we encountered a memory leak on firewalld, the final location is this indentation caused. I look forward to your reply, although you don't maintain
slip
anymoremaybe it is correct
The text was updated successfully, but these errors were encountered: