Opened 7 years ago

Closed 7 years ago

#672 closed defect (fixed)

RoutingKeyGenerator.getRoutingKey needs stack ref to _currentModData

Reported by: zab Owned by:
Priority: minor Milestone: 0.9.2
Component: api/utils Version: 0.9
Keywords: Cc:
Parent Tickets:

Description

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/

Subtickets

Change History (1)

comment:1 Changed 7 years ago by zzz

  • Component changed from unspecified to api/utils
  • Milestone set to 0.9.2
  • Resolution set to fixed
  • Status changed from new to closed

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.