{"action":"created","issue":{"url":"https://api.github.com/repos/etcimon/libasync/issues/10","labels_url":"https://api.github.com/repos/etcimon/libasync/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/etcimon/libasync/issues/10/comments","events_url":"https://api.github.com/repos/etcimon/libasync/issues/10/events","html_url":"https://github.com/etcimon/libasync/issues/10","id":56768696,"number":10,"title":"Exception with TCP Listener Example","user":{"login":"dariusc93","id":3918024,"avatar_url":"https://avatars.githubusercontent.com/u/3918024?v=3","gravatar_id":"","url":"https://api.github.com/users/dariusc93","html_url":"https://github.com/dariusc93","followers_url":"https://api.github.com/users/dariusc93/followers","following_url":"https://api.github.com/users/dariusc93/following{/other_user}","gists_url":"https://api.github.com/users/dariusc93/gists{/gist_id}","starred_url":"https://api.github.com/users/dariusc93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariusc93/subscriptions","organizations_url":"https://api.github.com/users/dariusc93/orgs","repos_url":"https://api.github.com/users/dariusc93/repos","events_url":"https://api.github.com/users/dariusc93/events{/privacy}","received_events_url":"https://api.github.com/users/dariusc93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T04:22:42Z","updated_at":"2015-02-06T05:07:58Z","closed_at":"2015-02-06T05:07:58Z","body":"I get the following from tcp_listener when I run the client with the server\r\n\r\n```\r\nListening to 127.0.0.1:8081\r\nReceived data: My Message\r\nSent: My Reply\r\nConnection closed\r\ncore.exception.AssertError@../../source/libasync/threads.d(294): You must call libasync.threads.destroyAsyncThreads() upon termination of the program to avoid segfaulting\r\n----------------\r\n./tcp_listener(void libasync.threads._sharedStaticDtor3()+0x50) [0x51b2e8]\r\n./tcp_listener(void libasync.threads.__modshareddtor()+0x9) [0x51b309]\r\n./tcp_listener(void rt.minfo.__T17runModuleFuncsRevS442rt5minfo11ModuleGroup8runDtorsMFZ9__lambda1Z.runModuleFuncsRev(const(immutable(object.ModuleInfo)*)[])+0x61) [0x57f935]\r\n./tcp_listener(void rt.minfo.ModuleGroup.runDtors()+0x15) [0x57f441]\r\n./tcp_listener(int rt.minfo.rt_moduleDtor().__foreachbody1(ref rt.sections_linux.DSO)+0x1c) [0x57f6f8]\r\n./tcp_listener(int rt.sections_linux.DSO.opApplyReverse(scope int delegate(ref rt.sections_linux.DSO))+0x46) [0x566052]\r\n./tcp_listener(rt_moduleDtor+0x19) [0x57f6d5]\r\n./tcp_listener(rt_term+0x5a) [0x57e296]\r\n./tcp_listener(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x3e) [0x561fd6]\r\n./tcp_listener(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x561f62]\r\n./tcp_listener(_d_run_main+0x193) [0x561ee3]\r\n./tcp_listener(main+0x25) [0x50316d]\r\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f3e1f2b9ec5]\r\nSegmentation fault (core dumped)\r\n```"},"comment":{"url":"https://api.github.com/repos/etcimon/libasync/issues/comments/73183688","html_url":"https://github.com/etcimon/libasync/issues/10#issuecomment-73183688","issue_url":"https://api.github.com/repos/etcimon/libasync/issues/10","id":73183688,"user":{"login":"etcimon","id":4785754,"avatar_url":"https://avatars.githubusercontent.com/u/4785754?v=3","gravatar_id":"","url":"https://api.github.com/users/etcimon","html_url":"https://github.com/etcimon","followers_url":"https://api.github.com/users/etcimon/followers","following_url":"https://api.github.com/users/etcimon/following{/other_user}","gists_url":"https://api.github.com/users/etcimon/gists{/gist_id}","starred_url":"https://api.github.com/users/etcimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcimon/subscriptions","organizations_url":"https://api.github.com/users/etcimon/orgs","repos_url":"https://api.github.com/users/etcimon/repos","events_url":"https://api.github.com/users/etcimon/events{/privacy}","received_events_url":"https://api.github.com/users/etcimon/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T05:07:58Z","updated_at":"2015-02-06T05:07:58Z","body":"Thanks! I should add those in travis .."}}