Open
Description
Hello all,
I'm new here and landed here searching a solution for my problem.
I use the quick library and logger already in standard VCL programs with no problems at all.
Now my colleague and I are building a plugin for Outlook and Word.
For this we are using the components of add-in express.
So we're building a COM plugin for local instance of office.
The problem is when closing Word, It hangs.
In outlook this isn't a problem, so just word.
Debugging it I found the point it stops responding.
In Quick,Logger.pas at line 1315:
fThreadProviderLog.Terminate;
fThreadProviderLog.WaitFor;
fThreadProviderLog.Free;
//if Assigned(fProviders) then fProviders.Free;
FreeAndNil( fProviders );
fCustomTags := nil;
FreeAndNil( fLogQueue );
The .WaitFor is never returning...
I also had a breakpoint in the thread that has to stop, the while loop is ended correctly.
So it seems the thread is terminatied after the calling of .Terminate method.
Kind regards,
Jan