From 3567c48c9cc590192d87f75921b01a5470d77dfc Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 28 May 2020 16:39:51 +0200 Subject: [PATCH] prevent rt_term error on windows see #45, calling d_rt_term on windows leads to aexception originated frrom the GC --- src/u_dexed_d.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/u_dexed_d.pas b/src/u_dexed_d.pas index 49b95524..fe174c26 100644 --- a/src/u_dexed_d.pas +++ b/src/u_dexed_d.pas @@ -137,5 +137,7 @@ initialization setRtOptions(); d_rt_init(); finalization + {$IFDEF POSIX} d_rt_term(); + {$ENDIF} end.