ThreadWorker Cleanup Method CleanCode C# Libraries v1.2.03 API
Tells the ThreadManager that this background task is complete.

Namespace: CleanCode.Threading
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public void Cleanup()

Calls the ThreadManager's routine DecrThreadCount(String) for this thread. This must be called from the main thread, not worker threads, typically in the UpdateResults  method, during the course of your normal processing loop. Also see CleanupDueToAbort  for handling user-initiated abort.
See Also