Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create a new fresh string for comm
comm had the same inner address as the original string which it was created from (basename). This caused the original underlying bytes to be preserved and not garbage collected. Converting it to a byte slice and then back to a string guarantees that a new string is created releasing the original reference.
- Loading branch information