Application.prep_stop
You're seeing just the callback
prep_stop
, go back to Application module for more information.
Specs
Called before stopping the application.
This function is called before the top-level supervisor is terminated. It
receives the state returned by start/2
, if it did, or []
otherwise.
The return value is later passed to stop/1
.