onStop

Wraps the StorePlugin.onStop method of the child plugin passed in the block parameter.

The child plugin will not know the store has stopped unless you call the StorePlugin.onStop method inside this block manually. Be careful of resources not being properly cleaned up!

For pre-context parameters version, to correctly call the child method, use child.run { onStop(e) }

See the DecoratorBuilder documentation for details on how this function behaves.