/// <summary> /// Release the PyObject's internal reference /// </summary> public void Release() { if (!IsNull && _newReference) { Py.Py_DecRef(_pyReference); } _pyReference = IntPtr.Zero; }