Skip to content

Commit f5f95e0

Browse files
committed
Update _is_daemon.py
cleanup
1 parent ad71d33 commit f5f95e0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

yaqd-core/yaqd_core/_is_daemon.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def main(cls):
197197

198198
@classmethod
199199
async def _main(cls, config_filepath, config_file, args=None):
200-
"""Parse command line arguments, start event loop tasks."""
200+
"""Parse command line arguments, run event loop."""
201201
loop = asyncio.get_running_loop()
202202
if sys.platform.startswith("win"):
203203
signals = ()
@@ -297,8 +297,6 @@ async def shutdown_all(cls, sig, loop):
297297
# are not themselves cancelled.
298298
[d.close() for d in cls._daemons]
299299
tasks = [t for t in asyncio.all_tasks() if t is not asyncio.current_task()]
300-
for task in tasks:
301-
logger.info(task.get_coro())
302300
await asyncio.gather(*tasks, return_exceptions=True)
303301
[d._save_state() for d in cls._daemons]
304302
if hasattr(signal, "SIGHUP") and sig == signal.SIGHUP:

0 commit comments

Comments
 (0)