internal void DeleteGlobalReference(jobject reference)
        {
            if (!AgentExports.IsLoaded)
            {
                return;
            }

            _nativeInterface.DeleteGlobalRef(_nativeEnvironmentHandle, reference);
        }