Commit 44a1993
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 72d2d2c commit 44a1993Copy full SHA for 44a1993
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 |
|---|---|---|
| ||
482 | 482 | |
483 | 483 | |
484 | 484 | |
485 | | - |
| 485 | + |
486 | 486 | |
487 | 487 | |
488 | 488 | |
|
0 commit comments