Skip to content

Fix double node terminate in delNode#1232

Open
Shbinging wants to merge 1 commit into
mininet:masterfrom
Shbinging:fix_delNode
Open

Fix double node terminate in delNode#1232
Shbinging wants to merge 1 commit into
mininet:masterfrom
Shbinging:fix_delNode

Conversation

@Shbinging

Copy link
Copy Markdown

In the delNode function, the node.stop function is called first, and then the node.terminate function is called. However, the node.terminate function is also called once in node.stop, which causes node.terminate function to be called twice. In the case of user-defined terminate function, problems such as resource double free may occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant