Java.Lang.JavaSystem.RunFinalizersOnExit Method
Ensures that, when the VM is about to exit, all objects are finalized.

Syntax

[Android.Runtime.Register("runFinalizersOnExit", "(Z)V", "")]
[System.Obsolete("deprecated")]
public static void RunFinalizersOnExit (bool flag)

Parameters

flag
the flag determines if finalization on exit is enabled.

Remarks

Ensures that, when the VM is about to exit, all objects are finalized. Note that all finalization which occurs when the system is exiting is performed after all running threads have been terminated.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1