The session for whichever game item belongs to - any DomItem in that game's tree, or its root itself, works the
same way. A game gets its own session the first time anything asks for it, and it is garbage-collected along with
its root once nothing else references the game any more - there is nothing to explicitly tear down.
The session for whichever game
itembelongs to - any DomItem in that game's tree, or its root itself, works the same way. A game gets its own session the first time anything asks for it, and it is garbage-collected along with its root once nothing else references the game any more - there is nothing to explicitly tear down.