From 7b86cad3b4a95f960145e99aa8e0f1fb2f37bfea Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 28 May 2014 11:49:48 +0000 Subject: [PATCH] Fixed: TX2GlobalLog tried to free an interface --- X2Log.Global.pas | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/X2Log.Global.pas b/X2Log.Global.pas index 4fd1cf6..840a68b 100644 --- a/X2Log.Global.pas +++ b/X2Log.Global.pas @@ -4,13 +4,14 @@ interface uses System.SysUtils, + X2Log, X2Log.Intf; type TX2GlobalLog = class(TObject) private class var - FInstance: IX2Log; + FInstance: TX2Log; protected class procedure CleanupInstance; public @@ -34,8 +35,6 @@ type implementation -uses - X2Log; { TX2GlobalLog }