diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index 7ec570a..a9d2684 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -1429,10 +1429,9 @@ private extern(C) void extrap() private extern(C) void onSignal(int signal) nothrow { + logInfo("Received signal %d. Shutting down.", signal); atomicStore(st_term, true); try st_threadsSignal.emit(); catch (Throwable) {} - - logInfo("Received signal %d. Shutting down.", signal); } private extern(C) void onBrokenPipe(int signal)