From 4499dc31130d7727a5a0acc35e5bbe7bb9a65bce Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Thu, 3 Jun 2021 13:58:29 +0200 Subject: [PATCH] fix "Task pending" error message when closing odrivetool --- CHANGELOG.md | 1 + tools/odrive/pyfibre/fibre/shell.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fd15ea2..94b9f2f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Please add a note of your changes below this heading if you make a Pull Request. ## [0.5.3] - unreleased ### Fixed * ASCII protocol commands with multiline responses (`i`, `h`) now return the expected response (in v0.5.2 the response was corrupted) +* odrivetool no longer shows the message `` when closing # Releases ## [0.5.2] - 2021-05-21 diff --git a/tools/odrive/pyfibre/fibre/shell.py b/tools/odrive/pyfibre/fibre/shell.py index 27421567..7c85719d 100644 --- a/tools/odrive/pyfibre/fibre/shell.py +++ b/tools/odrive/pyfibre/fibre/shell.py @@ -148,3 +148,4 @@ def launch_shell(args, mount, interact() shutdown_token[0] = True + discovery.stop()