edifice.Component.will_unmount

Component.will_unmount()[source]

Callback function that is called when the component will unmount.

Override if you need to clean up some state, e.g. stop a timer, close a file.