From 52f4d6c23105de529f93d88efd77399c16d29110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 1 Feb 2023 12:25:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20autorefresh.stop=20->=20autorefr?= =?UTF-8?q?esh.cancel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/server/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index cd53c063b..d90e17b76 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1192,7 +1192,7 @@ class Server: nonlocal autorefresh if autorefresh is not None: - autorefresh.stop() + autorefresh.cancel() autorefresh = None autorefresh = octoprint.util.RepeatedTimer(