Application.prep_stop

You're seeing just the callback prep_stop, go back to Application module for more information.
Link to this callback

prep_stop(state)

View Source (optional)

Specs

prep_stop(state()) :: state()

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.