Chinese Simplified (简体中文)

ExplicitlyUnload Method of the IEngineLoader Interface

This method deinitializes ABBYY FineReader Engine. It unloads FineReader Engine and frees up resources.

Syntax

C++

HRESULT ExplicitlyUnload();
    

C#

void ExplicitlyUnload();
    

Visual Basic .NET

Sub ExplicitlyUnload()
    

Return values

This method has no specific return values. It returns the standard return values of the ABBYY FineReader Engine functions.

Remarks

If you work with .NET, additionally call GC.Collect and GC.WaitForPendingFinalizers after deinitialization. This will explicitly finalize all FREngine.exe processes. Otherwise, they will exist until the garbage collector is called automatically.

Note: Garbage collector is not always called automatically. In this case, all the processes will exist till the finalization of the application. If you work with server applications that are not finalized, it is strongly recommended to explicitly call the garbage collector.

See also

IEngineLoader

InitializeEngine

DeinitializeEngine

Different Ways to Load the Engine Object

9/17/2024 3:14:41 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.