Simple "is running" check
This commit is contained in:
1 parent
4fd3f91a77
commit
404df1584b
2 files changed
+15
-8
No files matched your search
@@ -67,6 +67,11 @@ class Plugin(object):
|
||||
except Exception, e:
|
||||
log.error('Unable to create folder "%s": %s' % (path, e))
|
||||
|
||||
def beforeCall(self):
|
||||
self.isRunning(True)
|
||||
|
||||
def afterCall(self):
|
||||
self.isRunning(False)
|
||||
|
||||
def doShutdown(self):
|
||||
self.shuttingDown(True)
|
||||
|
||||
Reference in new issue
Block a user