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
While investigating a port leak crash in software I maintain, I found that the source of the leak was due to the file descriptors returned by pipe() call in lws_plat_pipe_create() not getting cleaned up in the lws_context_destroy() call.
This can be easily reproduced by just recreating connections (running lws_context_create() / lws_context_destroy() multiple times in the same program).
I created an example client that I was using to debug the leak / test a fix in this branch.
Will be putting in a PR for a potential fix shortly.
The text was updated successfully, but these errors were encountered:
While investigating a port leak crash in software I maintain, I found that the source of the leak was due to the file descriptors returned by
pipe()
call inlws_plat_pipe_create()
not getting cleaned up in thelws_context_destroy()
call.This can be easily reproduced by just recreating connections (running
lws_context_create()
/lws_context_destroy()
multiple times in the same program).I created an example client that I was using to debug the leak / test a fix in this branch.
Will be putting in a PR for a potential fix shortly.
The text was updated successfully, but these errors were encountered: