Skip to content

Fix memory starvation

Latest

Choose a tag to compare

@Koi-3088 Koi-3088 released this 19 Sep 23:19

Either the Switch or libnx doesn't release allocated memory for std::thread after the thread is cleaned up and joined. This fixes memory starvation issues resulting from re-creating threads when reconnecting repeatedly by initializing threads once and reusing them.