ShutdownHooks


Object Hierarchy:

Object hierarchy for ShutdownHooks

Description:

public class ShutdownHooks : Object

Utilities for registering callbacks executed at process shutdown.

Hooks are executed in reverse registration order (LIFO), matching common stack-style cleanup semantics.

Example:

    ShutdownHooks.addHook (() => {
print ("flush logs\n");
});


Namespace: Vala.Lang
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object