Exemplo n.º 1
0
        /// <summary>
        ///     Release the PyObject's internal reference
        /// </summary>
        public void Release()
        {
            if (!IsNull && _newReference)
            {
                Py.Py_DecRef(_pyReference);
            }

            _pyReference = IntPtr.Zero;
        }