core: fixed session cleaning after actionNew timeout

This commit is contained in:
Goffi 2015-11-22 21:23:14 +01:00
commit 8002971b77
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@ doc_param_4=extra: extra message information
doc_param_5=%(doc_profile)s
[newAlert]
deprecated=
type=signal
category=core
sig_in=ssss

View file

@ -811,7 +811,7 @@ class SAT(service.Service):
id_ = unicode(uuid.uuid4())
if keep_id is not None:
client = self.getClient(profile)
action_timer = reactor.callLater(60*30, self._killAction)
action_timer = reactor.callLater(60*30, self._killAction, keep_id, client)
client.actions[keep_id] = (action_data, id_, security_limit, action_timer)
self.bridge.actionNew(action_data, id_, security_limit, profile)