addUnloadFunction

Add the specified function to the tuple of functions that should be applied when the module is unloaded.

Parameters

unloadFunction

A function.

Throws

If the module is already closed.