aboutsummaryrefslogtreecommitdiff
path: root/operationscore/ThreadedSmootCoreObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore/ThreadedSmootCoreObject.py')
-rw-r--r--operationscore/ThreadedSmootCoreObject.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/operationscore/ThreadedSmootCoreObject.py b/operationscore/ThreadedSmootCoreObject.py
index 90611bc..967ee35 100644
--- a/operationscore/ThreadedSmootCoreObject.py
+++ b/operationscore/ThreadedSmootCoreObject.py
@@ -5,10 +5,6 @@ import util.Config as configGetter
from operationscore.SmootCoreObject import SmootCoreObject
class ThreadedSmootCoreObject(SmootCoreObject, threading.Thread):
def __init__(self, argDict, skipValidation = False):
- self.argDict = argDict
- self.validateArgs(self.className()+'.params')
- self.lock = thread.allocate_lock()
+ SmootCoreObject.__init__(self, argDict, skipValidation)
threading.Thread.__init__(self)
- self.init() #call init of inheriting class
- # self.__setitem__ = self.argDict.__setitem__
- # self.__getitem__ = self.argDict.__getitem__
+ self.daemon = True #This kills this thread when the main thread stops