Follow-up Comment #6, bug #22392 (project freeciv):

> That's how it should be, but why it was not called when your
> client detached, and how the change to cache allocation (your
> patch) fixes this?

When the client detach, the ruleset is not freed in current branches. It is
freed only when the client disconnect.

The ruleset is sent when the client connect, or when the ruleset changes. My
patch made the cache allocated when the user has received the full ruleset.
Previously it was allocated only when changing state to game (attached to
player or global observer). 

Then with a combination of attach/detach/attach, the cache was allocated twice
(the ruleset wasn't freed at any time).


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to