Click or drag to resize
SoWinFinish Method

Frees Open Inventor's internal static memory allocations.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static void Finish()
Remarks

This avoids false positives from memory leak checking software. We recommend calling this method and it should be the last Open Inventor method called by the application. This method calls (), SoNodeKit.finish(), and SoInteraction.finish().

Note: Open Inventor objects should be destroyed before you call this method.

OIV.Inventor.Win.SoWin doesn't end properly: OIV.Inventor.Win.Viewers.SoWinExaminerViewer is destroyed after the OIV.Inventor.Win.SoWin.Finish() method has been called.

The OIV.Inventor.Win.Viewers.SoWinExaminerViewer (that uses Open Inventor) is destroyed before the OIV.Inventor.Win.SoWin.Finish() method is called.

See Also