Delete all sources in the pipeline programatically?

Is there a way to delete all the sources with their “child’s” and everything in the pipeline programmatically?

Something like

for x in GetSources():


for x in GetSources().values():
1 Like

My experience with PV5.8 is that this is not sufficient because it does not clean memory. I much prefer a


What do you think?

I do prefer ResetSession, but it does much more than just deleting the sources.

1 Like