mvcGroupDestroy()

Purpose

Destruction hook for MVC members.

Examples

class SampleController {
    def mvcGroupDestroy() {
        // perform cleanup 
    }
}

Description

This method serves as a destruction hook for any MVC member that is not a Script nor a CompositeBuilder instance. It will be called when the instance is about to be removed from the application's cache during the destroy sequence of an MVC group