Commit 8e5af1e
committed
physicalplan: harden PhysicalInfrastructure.Release
We sync-pool `PhysicalInfrastructure` objects and previously we wouldn't
explicitly unset elements of `Processors` slice. This was done since
it's a slice of values not pointers. However, those values themselves
embed protobuf ProcessorSpec which contains more messages (among other
things might have RenderExprs) which we do want to lose the references
to, so this commit fixes that oversight.
Release note: None1 parent fd05c4c commit 8e5af1e
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments