core: fixed session cleaning after actionNew timeout

This commit is contained in:
Goffi 2015-11-22 21:23:14 +01:00
commit 8002971b77

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)