public void Dispose()
        {
            if (mDisposed)
            {
                return;
            }

            mDisposed = true;

            if (mObject != IntPtr.Zero)
            {
                JNISafe.DeleteGlobalRef(mObject);
            }

            if (mClass != IntPtr.Zero)
            {
                JNISafe.DeleteGlobalRef(mClass);
            }
        }