Beispiel #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (_ctx != null)
            {
                if (initialized)
                {
                    Free();
                }

                Native.librg_release(_ctx);
                _ctx = null;
            }
        }
Beispiel #2
0
 public Context()
 {
     _ctx = Native.librg_allocate_ctx();
 }