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
9/17/2024 3:14:41 PM