def cleanup_engine(self, engine):
        scenes = [scene for scene in engine.scenes]
        for scene in scenes:
            engine.close_scene(scene)
        engine.stop()
Close all scenes in the engine and stop it
dataset/ETHPy150Open enthought/mayavi/integrationtests/mayavi/test_mlab_savefig.py/TestMlabSavefigUnitTest.cleanup_engine