eric6/Plugins/VcsPlugins/vcsGit/git.py

changeset 7034
ca42317bb307
parent 6942
2602857055c5
child 7167
b3557e77314a
--- a/eric6/Plugins/VcsPlugins/vcsGit/git.py	Thu May 30 18:36:54 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsGit/git.py	Sun Jun 02 11:38:28 2019 +0200
@@ -109,6 +109,8 @@
         self.__commitDialog = None
         
         self.__patchCheckData = None
+        
+        self.__projectHelper = None
     
     def getPlugin(self):
         """
@@ -158,7 +160,8 @@
             self.submoduleStatusDialog.close()
         
         # shut down the project helpers
-        self.__projectHelper.shutdown()
+        if self.__projectHelper is not None:
+            self.__projectHelper.shutdown()
     
     def initCommand(self, command):
         """

eric ide

mercurial