DeleteGlobalRef() public static method

public static DeleteGlobalRef ( IntPtr globalref ) : void
globalref System.IntPtr
return void
Esempio n. 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.m_disposed)
     {
         this.m_disposed = true;
         AndroidJNISafe.DeleteGlobalRef(this.m_jobject);
         AndroidJNISafe.DeleteGlobalRef(this.m_jclass);
     }
 }
 public void Dispose()
 {
     if (!this.m_disposed)
     {
         this.m_disposed = true;
         if (this.m_jobject != IntPtr.Zero)
         {
             AndroidJNISafe.DeleteGlobalRef(this.m_jobject);
         }
     }
 }
Esempio n. 3
0
        public void Dispose()
        {
            bool disposed = this.m_disposed;

            if (!disposed)
            {
                this.m_disposed = true;
                bool flag = this.m_jobject != IntPtr.Zero;
                if (flag)
                {
                    AndroidJNISafe.DeleteGlobalRef(this.m_jobject);
                }
            }
        }