Skip to content

Allow cleanup of ctx with no peers

David Holroyd requested to merge dholroyd/librist:patch-1 into master

If a context had not had any peers added, a call to rist_destroy() would segfault.

This patch moves the check prior to the initial loop iteraction

Merge request reports

Loading