Griffon Guide 0.9.5-rc2 - Reference Documentation

# 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