Added some missing deleteLater() calls.

Sun, 27 Dec 2015 13:26:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 27 Dec 2015 13:26:12 +0100
changeset 4626
c891c7ad6b60
parent 4625
ac72a3d8f89e
child 4627
a33560bd2d2d

Added some missing deleteLater() calls.

PluginManager/PluginManager.py file | annotate | diff | comparison | revisions
PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
--- a/PluginManager/PluginManager.py	Sun Dec 27 13:14:00 2015 +0100
+++ b/PluginManager/PluginManager.py	Sun Dec 27 13:26:12 2015 +0100
@@ -1148,6 +1148,7 @@
                 ).format(Preferences.getUI("PluginRepositoryUrl6"),
                          reply.errorString())
             )
+            reply.deleteLater()
             return
         
         ioDevice = QFile(self.pluginRepositoryFile + ".tmp")
@@ -1157,6 +1158,7 @@
         if QFile.exists(self.pluginRepositoryFile):
             QFile.remove(self.pluginRepositoryFile)
         ioDevice.rename(self.pluginRepositoryFile)
+        reply.deleteLater()
         
         if os.path.exists(self.pluginRepositoryFile):
             f = QFile(self.pluginRepositoryFile)
--- a/PluginManager/PluginRepositoryDialog.py	Sun Dec 27 13:14:00 2015 +0100
+++ b/PluginManager/PluginRepositoryDialog.py	Sun Dec 27 13:26:12 2015 +0100
@@ -453,6 +453,7 @@
                         len(self.__selectedItems()))
                     self.__downloadInstallButton.setEnabled(
                         len(self.__selectedItems()))
+            reply.deleteLater()
             return
         
         self.__downloadIODevice.open(QIODevice.WriteOnly)
@@ -463,6 +464,7 @@
         self.__downloadIODevice.rename(self.__downloadFileName)
         self.__downloadIODevice = None
         self.__downloadURL = None
+        reply.deleteLater()
         
         if self.__doneMethod is not None:
             self.__doneMethod(ok, self.__downloadFileName)

eric ide

mercurial