LhWaitForPendingRemovals() public static method

public static LhWaitForPendingRemovals ( ) : void
return void
Exemplo n.º 1
0
        /// <summary>
        /// Processes any pending hook removals. Warning! This method can be quite slow (1 second) under certain circumstances.
        /// </summary>
        /// <see cref="NativeAPI.LhWaitForPendingRemovals()"/>
        public static void Release()
        {
            GC.Collect();
            GC.WaitForPendingFinalizers();
            GC.Collect();

            NativeAPI.LhWaitForPendingRemovals();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Processes any pending hook removals. Warning! This method can be quite slow (1 second) under certain circumstances.
        /// </summary>
        public static void Release()
        {
            GC.Collect();
            GC.WaitForPendingFinalizers();
            GC.Collect();

#if SUPPORT_THEME_HOOKS
            NativeAPI.LhWaitForPendingRemovals();
#endif
        }