From 4e3258d78d741a8652eab9a87a6a04e1497a53ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 23 Nov 2021 19:20:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Don't=20try=20to=20enter=20cance?= =?UTF-8?q?lling=20mode=20if=20already=20in=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part 1 of fixing #4299 --- src/octoprint/util/comm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index bdab6544b..3a3ad75b7 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1687,6 +1687,10 @@ class MachineCom(object): # we aren't even printing, nothing to cancel... return + if self.isCancelling(): + # we are already cancelling + return + if "source:plugin" in tags: for tag in tags: if tag.startswith("plugin:"):