shutdownOnFailure

An annotation that specifies that the given function should be executed when the program is stopped.

Any functions annotated with this attribute will only be executed when the program has stopped and an oncaught exception has occured.

struct shutdownOnFailure

Meta