Cleanup Method Cleanup() Cleans up the pipeline; should be called only once, after all Invoke calls. C# void Cleanup()