Table of Contents

Method Dispose

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Dispose()

Releases all resource used by the RunnableSessionToken object.

public void Dispose()

Remarks

Call Dispose() when you are finished using the RunnableSessionToken.

Dispose() method leaves the RunnableSessionToken in an unusable state. After calling Dispose(), you must release all references to the RunnableSessionToken so the garbage collector can reclaim the memory that the RunnableSessionToken was occupying.

Dispose(bool)

Releases all resource used by the RunnableSessionToken object.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

If set to true we are disposing and should dispose held objects.