--- 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): """