Commit fef17b7
src: avoid extra
Instead of getting a reference to the main `AliasedBuffer`, which
would always unnecesarily allocate and destroy a `Persistent`
handle, store and use a reference to the owning object.
PR-URL: #23844
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>Persistent in DefaultTriggerAsyncIdScope
1 parent 22caa26 commit fef17b7Copy full SHA for fef17b7
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Collapse file
+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
186 | 186 | |
187 | 187 | |
188 | 188 | |
189 | | - |
| 189 | + |
190 | 190 | |
191 | 191 | |
192 | 192 | |
193 | 193 | |
194 | 194 | |
195 | | - |
196 | | - |
| 195 | + |
| 196 | + |
197 | 197 | |
198 | 198 | |
199 | 199 | |
200 | 200 | |
201 | 201 | |
202 | | - |
| 202 | + |
203 | 203 | |
204 | 204 | |
205 | 205 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
487 | 487 | |
488 | 488 | |
489 | 489 | |
490 | | - |
| 490 | + |
491 | 491 | |
492 | 492 | |
493 | 493 | |
|
0 commit comments