This method will call when a controller is stopped. The stopping() method will execute as the last update() call and only executes once. The stopping() method will not fail and return nothing too. The following is the declaration of the stopping() method:
virtual void stopping();