Open GoogleCodeExporter opened 9 years ago
How I tackle the problem is providing annotation @Singleton in RoomChatManager
class, eventhough it is specified as Singleton in MucModule. May be this is for
the time being solution.
Any reply will be helpful.
Original comment by jiunara...@gmail.com
on 17 Jan 2011 at 11:01
Are you using the same injector? If so, we should add the @Singleton annotation
to the class itself.
Original comment by danigb
on 17 Jan 2011 at 11:04
But when the module says "in(Singleton.class)", if I am not wrong it means that
the injector would give singleton, which didn't.
And danigb is trying to say that singleton happens only for different injector.
Correct me if I am wrong?
Original comment by jiunara...@gmail.com
on 20 Jan 2011 at 10:51
Could this be something to do with the Suco compatibility layer?
I have a feeling (although may be wrong) that this could cause duplicate
singleton objects as it instantiates its own ginjector. Make sure that you're
not including the EmiteSuco GWT module (unless you're using it, of course!).
Original comment by ashward....@gmail.com
on 24 Feb 2011 at 3:15
Original issue reported on code.google.com by
jiunara...@gmail.com
on 17 Jan 2011 at 10:40