Closed Basti-Fantasti closed 1 year ago
I managed to successfully circumvent the issue by calling the logging class destructor before calling the FreeLibrary (as suggested by you 😃 )
Now it works...
I also implemented your singleton approach for building the Logger as well as freeing the logger
I ran into this problem, that my application crashes / freezes every time when it gets shut down on the FreeLibrary call.
In that call, the LoggerPro destructor is called like this:
it always freezes at the
_Log := nil
call. I have implemented theReleaseGlobalLogger;
but this is never executed due to the freeze in the row before. It seems to make no difference which loggers are used.I tried only the FileLogger, only Syslog, but as soon as one instance of the logger is running, the calling App freezes...
Do you have any ideas what could cause this, or how can I further investigate into this...