> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExplicitlyUnload Method of the IEngineLoader Interface

> ExplicitlyUnload method of the IEngineLoader Interface in the ABBYY FineReader Engine API — This method deinitializes ABBYY FineReader Engine.

<Note>
  This method is implemented in FRE for Windows.
</Note>

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

## Syntax

### C++

```cpp theme={null}
HRESULT ExplicitlyUnload();
```

### C\#

```csharp theme={null}
void ExplicitlyUnload();
```

### Visual Basic .NET

```vb theme={null}
Sub ExplicitlyUnload()
```

## Return values

This method has no specific return values. It returns the [standard return values of the ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## 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.
</Note>

## See also

[IEngineLoader](/fine-reader/engine/api-reference/engine-loaders/iengineloader)

[InitializeEngine](/fine-reader/engine/api-reference/engine-loaders/iengineloader/initializeengine-method)

[DeinitializeEngine](/fine-reader/engine/api-reference/functions/deinitializeengine-function)

[Different Ways to Load the Engine Object](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/different-ways-to-load-engine)
