Skip to content
  • Brad King's avatar
    BUG: Do not double-initialize local generators · e9d7ebb3
    Brad King authored
    All global generator CreateLocalGenerator methods automatically
    initialize the local generator instances with SetGlobalGenerator.  In
    several places we were calling SetGlobalGenerator again after receiving
    the return value from CreateLocalGenerator.  The double-initializations
    leaked the resources allocated by the first call to SetGlobalGenerator.
    This fix removes the unnecessary calls.
    e9d7ebb3