From 09c15a2f41d29a6a01f556ca86f3b92292ceca95 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 9 Jun 2018 19:10:00 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1167 --- MagickCore/exception-private.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/exception-private.h b/MagickCore/exception-private.h index 2716b7d6b..8348eebea 100644 --- a/MagickCore/exception-private.h +++ b/MagickCore/exception-private.h @@ -20,6 +20,7 @@ #include "MagickCore/log.h" #include "MagickCore/magick.h" +#include "MagickCore/resource-private.h" #include "MagickCore/string_.h" #if defined(__cplusplus) || defined(c_plusplus) @@ -48,6 +49,7 @@ extern "C" { CatchException(fatal_exception); \ (void) DestroyExceptionInfo(fatal_exception); \ MagickCoreTerminus(); \ + AsynchronousResourceComponentTerminus(); \ _exit((int) (severity-FatalErrorException)+1); \ } #define ThrowFileException(exception,severity,tag,context) \ -- 2.40.0