This Event is emitted in the context of a Resource. It is emitted when the Resource’s container Frame is closed. A Frame will close when the Frame’s Script has finished processing, or when the Frame is explicitly closed using a Close Frame Resource. A Resource’s Deactivate Event will also be emitted if the Resource is deactivated using a Deactivate Resource Resource.
This Event is guaranteed to be called for any Resource.