src/eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 9823
31eeccd92f86
parent 9812
cf625a86a861
child 9829
cafb132fe3bb
--- a/src/eric7/MicroPython/MicroPythonWidget.py	Mon Feb 27 16:59:51 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonWidget.py	Mon Feb 27 19:32:50 2023 +0100
@@ -1411,6 +1411,14 @@
 
         self.filesButton.setChecked(checked)
 
+    def shutdown(self):
+        """
+        Public method to perform some shutdown actions.
+        """
+        if self.__linkConnected:
+            with EricOverrideCursor():
+                self.__disconnectFromDevice()
+
     ##################################################################
     ## Super Menu related methods below
     ##################################################################

eric ide

mercurial