Added exec_on_unload implementation.

2 files changed