On Mon, 16 Mar 2015 14:02:44 +0100, Sönke Ludwig wrote:
Am 16.03.2015 um 08:43 schrieb zhmt:
auto wtask = runTask({
writeln("sttt.d");
});
I've tested with the follwing program and it works as expected, printing
"sttt.d". Can you give a complete failing example?import vibe.core.core; import std.stdio; shared static this() { auto wtask = runTask({ writeln("sttt.d"); }); }
import vibe.core.core;
import std.stdio;
shared static this()
{
auto wtask = runTask({
writeln("sttt.d");
});
wtask.join();
}
There is join calling in my original code , if I remove the task.join, it works.
But the task.join works well with ~master.
Should I remove task.join?