Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
Finalize Method
SwiPlCs interface ► SbsSW.SwiPlCs ► PlQuery ► Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

C# | Visual Basic | Visual C++ |
protected override void Finalize()
Protected Overrides Sub Finalize
protected: virtual void Finalize() override