[This is preliminary documentation and is subject to change.]

Disposes the window during finalization, if it hasn't been disposed earlier.

Namespace:  CursesSharp
Assembly:  CursesSharp (in CursesSharp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

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

Remarks

A correct program should dispose all resources before they are garbage collected, so this method being executed is considered a bug. For this reason the destructor causes an assertion failure in debug mode.

See Also