--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > Reinstated in latest version, main thread only.
I'd rather use for both threads, although it may not be absolutely necessary for the worker thread. > > Anyway, I'd rather wait on hThread than hEvent when PP is shutdown. > > For some reason WaitForSingleObject(hThread) locks up. I'll try > CoWaitForMultipleHandles with hThread. > Just in case, I meant hThread should be that of the worker thread, WaitForSingleObject/CoWaitForMultipleHandles on the main thread. BTW, I suppose it'd work only in case of PP's ExitProcess, not likely in case of mere com.unload. So, ultimately you may have to pursue as Bruce suggested.
