mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-03 12:24:46 +00:00
Remove unused QThread.__del__ method.
This commit is contained in:
parent
af1a702a8e
commit
d7186bc904
1 changed files with 0 additions and 6 deletions
|
|
@ -24,15 +24,9 @@ class CheckerThread (QtCore.QThread):
|
|||
def __init__ (self, parent=None):
|
||||
"""Reset check variables."""
|
||||
super(CheckerThread, self).__init__(parent)
|
||||
self.exiting = False
|
||||
self.aggregate = None
|
||||
self.progress = None
|
||||
|
||||
def __del__(self):
|
||||
"""Stop thread."""
|
||||
self.exiting = True
|
||||
self.wait()
|
||||
|
||||
def check (self, aggregate, progress):
|
||||
"""Set check variables and start the thread."""
|
||||
self.aggregate = aggregate
|
||||
|
|
|
|||
Loading…
Reference in a new issue