aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ServiceScan.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/ServiceScan.py')
-rw-r--r--lib/python/Components/ServiceScan.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/ServiceScan.py b/lib/python/Components/ServiceScan.py
index 0064ff89..24bbc10e 100644
--- a/lib/python/Components/ServiceScan.py
+++ b/lib/python/Components/ServiceScan.py
@@ -86,8 +86,9 @@ class ServiceScan:
self.scan.statusChanged.get().remove(self.scanStatusChanged)
if not self.isDone():
print "*** warning *** scan was not finished!"
+
+ del self.scan
def isDone(self):
print "state is %d " % (self.state)
return self.state == self.Done or self.state == self.Error
-