src/eric7/PipInterface/Pip.py

branch
eric7
changeset 11215
d07c71a34adf
parent 11212
c8fc753176c6
child 11218
43dfc40728d2
--- a/src/eric7/PipInterface/Pip.py	Thu Apr 10 18:36:24 2025 +0200
+++ b/src/eric7/PipInterface/Pip.py	Thu Apr 10 18:39:29 2025 +0200
@@ -95,6 +95,8 @@
 
         self.__vulnerabilityChecker = PipVulnerabilityChecker(self, self)
 
+        self.__ui.shutdown.connect(self.__shutdown)
+
     def getNetworkAccessManager(self):
         """
         Public method to get a reference to the network access manager object.
@@ -113,9 +115,9 @@
         """
         return self.__vulnerabilityChecker
 
-    def shutdown(self):
+    def __shutdown(self):
         """
-        Public method to perform shutdown actions.
+        Private method to perform shutdown actions.
         """
         self.__shuttingDown = True
         if self.__outdatedProc is not None:

eric ide

mercurial