3 ms·
Note: "finalize"-hints in Go are just curly braces, which begin and end blocks. But sometimes objects will survive the close braces.
by stcredzero 10y ago
Note: "finalize"-hints in Go are just curly braces, which begin and end blocks.
But sometimes objects will survive the close braces.
- thwd 10y agoI'm not sure I understand: do you mean that they are collected after the program counter hits the last instruction of a given scope or are you implying that scope-local variables outlive their scope somehow?