Commit 8bdbb220 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia
Browse files

[OPENBUS-2462] Correção da persistência de observadores de oferta

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@150251 ae0415b3-e90b-0410-900d-d0be9363c56b
parent d066f600
......@@ -286,10 +286,12 @@ function Offer:__init()
offer = self.id,
id = id,
})
entry.id = id
entry.observer = orb:newproxy(entry.observer, nil, OfferObserver)
entry.offer = self
orb:newservant(OfferObserverSubscription(entry))
orb:newservant(OfferObserverSubscription{
login = login,
id = id,
observer = orb:newproxy(entry.observer, nil, OfferObserver),
offer = self,
})
else
log:action(msg.DiscardOfferObserverAfterLogout:tag{
login = login,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment