#NEWLINE# def add_teardown_callback( self , callback , * callback_args , **callback_kwargs ) : #NEWLINE# #INDENT# '\n        Add a callback to be executed in the event of application teardown.\n\n        :param callback: The method callback to execute\n        :type callback: callable\n        :param callback_args: args to be passed to the callback function\n        :type callback_args: list\n        :param callback_kwargs: kwargs to be passed to the callback function\n        :type callback_kwargs: dict\n        ' #NEWLINE# self . _teardown_callback_stack . put ( ( callback , callback_args , callback_kwargs ) )