{"action":"closed","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1376","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1376/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1376/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1376/events","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1376","id":127382094,"number":1376,"title":"is this a bug?","user":{"login":"mzfhhhh","id":6634473,"avatar_url":"https://avatars.githubusercontent.com/u/6634473?v=3","gravatar_id":"","url":"https://api.github.com/users/mzfhhhh","html_url":"https://github.com/mzfhhhh","followers_url":"https://api.github.com/users/mzfhhhh/followers","following_url":"https://api.github.com/users/mzfhhhh/following{/other_user}","gists_url":"https://api.github.com/users/mzfhhhh/gists{/gist_id}","starred_url":"https://api.github.com/users/mzfhhhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzfhhhh/subscriptions","organizations_url":"https://api.github.com/users/mzfhhhh/orgs","repos_url":"https://api.github.com/users/mzfhhhh/repos","events_url":"https://api.github.com/users/mzfhhhh/events{/privacy}","received_events_url":"https://api.github.com/users/mzfhhhh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T07:21:25Z","updated_at":"2016-01-27T11:51:01Z","closed_at":"2016-01-27T11:51:01Z","body":"when client socket send msg or disconnect, this demo will crash.\r\n\r\n```D\r\nshared static this()\r\n{\r\n\tlistenTCP(10000,(conn){\r\n\t\t\r\n\t\tauto td = runTask({\r\n\t\t\tubyte [3] buf;\r\n\t\t\tconn.read(buf);\r\n\t\t});\r\n\r\n               //td.join();\t\r\n               //td.interrupt();\t  \t\t \r\n\t\tconn.close();     \t \r\n\t});\r\n}\r\n```\r\n```\r\ncore.exception.AssertError@..\\..\\source\\vibe\\core\\core.d(1191): Manually resumin\r\ng task that is already scheduled to resumed.\r\n----------------\r\n0x0053F9C9 in _d_assert_msg\r\n0x0041AABD in vibecorecoreVibeDriverCoreresumeTask at C:\\Users\\mzf\\AppData\\Roami\r\nng\\dub\\packages\\vibe-d\\examples\\http_request\\..\\..\\source\\vibe\\core\\core.d(1185)\r\n\r\n0x0041A8D8 in vibecorecoreVibeDriverCoreresumeTask at C:\\Users\\mzf\\AppData\\Roami\r\nng\\dub\\packages\\vibe-d\\examples\\http_request\\..\\..\\source\\vibe\\core\\core.d(1161)\r\n\r\n0x0043E85A in onSocketEvent at C:\\Users\\mzf\\AppData\\Roaming\\dub\\packages\\vibe-d\\\r\nexamples\\http_request\\..\\..\\source\\vibe\\core\\drivers\\libevent2_tcp.d(693)\r\nThere were still 2 tasks running at exit.\r\n```"}}