Commits

Marius Gedminas committed 1716e90

Give a name to the Dozer memleak thread.

  • Participants
  • Parent commits 72eaa39

Comments (0)

Files changed (2)

File CHANGELOG.rst

 ----------------
 * Emit the "PIL is not installed" only if the Dozer middleware is
   actually used.
+* Give a name to the Dozer memleak thread.
 
 0.2 (December 5, 2012)
 ----------------------

File dozer/leak.py

         self.path = path
         self.history = {}
         self.samples = 0
-        self.runthread = threading.Thread(target=self.start)
+        self.runthread = threading.Thread(name='Dozer', target=self.start)
         self.runthread.setDaemon(True)
         self.runthread.start()
         if Image is None or ImageDraw is None: