Opened 8 years ago

Closed 8 years ago

#672 closed defect (fixed)

RoutingKeyGenerator.getRoutingKey needs stack ref to _currentModData

Reported by: Zlatin Balevsky Owned by:
Priority: minor Milestone: 0.9.2
Component: api/utils Version: 0.9
Keywords: Cc:
Parent Tickets: Sensitive: no


changes going in 0.9.1 make the _currentModData copy-on-write; the correct pattern requires that a stack ref is used when accessing multiple times.

See http://pastethis.i2p/show/1517/


Change History (1)

comment:1 Changed 8 years ago by zzz

Component: unspecifiedapi/utils
Milestone: 0.9.2
Resolution: fixed
Status: newclosed

Not really necessary to copy the ref since the length never changes. Checking in some cleanups to make that clear in 0.9.1-1.

Note: See TracTickets for help on using tickets.