def unload(self):
self.is_loaded = False<EOL>for evt in self._event_cache:<EOL><INDENT>self.context.unregister(<EOL>evt['<STR_LIT>'], evt['<STR_LIT>'], evt['<STR_LIT>'])<EOL><DEDENT>self._event_cache = {}<EOL>
Overridable method called when a view is unloaded (either on view change or on application shutdown).
Handles by default the unregistering of all event handlers previously registered by
the view.