kevinortegren / zombieshroom

Large game project
11 stars 2 forks source link

Component allocation list has no reuse #143

Open rarosu opened 10 years ago

rarosu commented 10 years ago

The linked list does not reuse any preallocated components? When clients connected and reconnected during a server stress-test, Allocate returned null when creating a new ClientComponent (of which we only allocate 12). Most likely after 12 connects/reconnects.

rarosu commented 10 years ago

Components have reuse. The problem is in that the client components are not removed, since they do not have a script component which OnDestroy is called.