[galaxy-dev] [hg] galaxy 1580: Use a weakref in metadata to prevent a circula...