1. TortoiseHg
  2. TortoiseHg
  3. thg


Steve Borho  committed fe5f1b6

sync: clear reference to finish function after calling it (GC fix)

  • Participants
  • Parent commits 01b9175
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/sync.py

View file
         if self.finishfunc:
             output = self.cmd.core.rawoutput()
             self.finishfunc(ret, output)
+            self.finishfunc = None # allow GC to clean temp functions
     def run(self, cmdline, details):
         if self.cmd.core.running():