If you want to dispose the PyObject and reduce the reference count immediately
you should call `Dispose` manually or use `using` statement.
Otherwise, GC will take care of it although it would be a little delay, you can
adjust ` Finalizer.Instance.Threshold ` for reducing the delay, it refers how
There is a lot more going on this topic of GC in GitHub repo, but I'm not
involved with the project anymore.
Anyway if anyone is interested in moderating this mailing list, please let
me know.
Thanks,
Denis
On Sun, Sep 8, 2019, 10:35 AM Thomas Lundgaard Hansen <
thomas.lundga...@3shape.com> wro
Hi.
I am embedding Python into a .NET (C#) application. For the purpose of this
discussion my code is
like the example given here:
https://github.com/pythonnet/pythonnet#example
(except that I am working with arrays of a substantial size).
Each of the "dynamic" variables created in that example