exception handling - How to stop a Vibe.D application? -
does vibe.d have build-in terminate function, when library run through static initializer? want terminate application when vibe.d throws exception when example opening file.
i have server listening using listenhttp
function.
try geteventdriver().exiteventloop();
, here , here.
edit: there's simpler version, standalone function vibe.core.core.exiteventloop
.
Comments
Post a Comment