fix: use loop variable instead of global ticker in GenerateFreshName #40
Reference in New Issue
Block a user
Delete Branch "fix/fresh-name-generation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
GenerateFreshNameused a globaltickervariable but never incremented it inside the loop.This caused an infinite loop if the first generated name (
_0) was already in the used set.tickervariable.idirectly to generate candidate names.Benefits
Checklist
<type>/<description>). Always use underscores.