def shutdown(self, wait=True):

        self.__scheduler.shutdown(wait)
Shuts down the scheduler. Does not interrupt any currently running jobs.
dataset/ETHPy150Open viniciuschiele/flask-apscheduler/flask_apscheduler/scheduler.py/APScheduler.shutdown