Commit 120ac74
src: remove aliased buffer weak callback
An AliasedBuffer can be nested in a BaseObject and their weak callbacks
invoke order are not guaranteed. Prevent aliased buffer from being
accessed in its weak callback as its validness can be checked with the
emptiness of the persistent handle.
PR-URL: #47688
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent de4f14c commit 120ac74Copy full SHA for 120ac74
File tree
Expand file treeCollapse file tree
2 files changed
+3
-15
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
2 files changed
+3
-15
lines changedOpen diff view settings
Collapse file
+3-12Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
74 | 73 | |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
| ||
126 | 126 | |
127 | 127 | |
128 | 128 | |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | 129 | |
139 | 130 | |
140 | 131 | |
141 | | - |
| 132 | + |
142 | 133 | |
143 | 134 | |
144 | 135 | |
| ||
223 | 214 | |
224 | 215 | |
225 | 216 | |
226 | | - |
| 217 | + |
227 | 218 | |
228 | 219 | |
229 | 220 | |
|
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
173 | 173 | |
174 | 174 | |
175 | 175 | |
176 | | - |
177 | | - |
178 | 176 | |
179 | 177 | |
180 | 178 | |
181 | 179 | |
182 | 180 | |
183 | | - |
184 | 181 | |
185 | 182 | |
186 | 183 | |
|
0 commit comments