Skip to content

Commit 7037dc4

Browse files
committed
*: refine logs during shutdown
1 parent b68552d commit 7037dc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

feeluown/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ def about_to_exit(self):
172172
Signal.teardown_aio_support()
173173
except: # noqa
174174
logger.exception("about-to-exit failed")
175+
logger.info('Ready for shutdown')
175176

176177
def exit_player(self):
177178
self.player.shutdown() # this cause 'abort trap' on macOS
178179

179180
def exit(self):
180181
self.about_to_exit()
181-
logger.info('Shutdown event loop')
182182
loop = asyncio.get_event_loop()
183183
loop.stop()
184184
loop.close()

0 commit comments

Comments
 (0)