Commit 981bbcd
src: remove TryCatch in MakeCallback
After attempting to use ReThrow() and Reset() there were cases where
firing the domain's error handlers was not happening. Or in some cases
reentering MakeCallback would still cause the domain enter callback to
abort (because the error had not been Reset yet).
In order for the script to properly stop execution when a subsequent
call to MakeCallback throws it must not be located within a TryCatch.
Ref: #7048
PR-URL: #4507
Reviewed-By: Fedor Indutny <fedor@indutny.com>1 parent 48b7b71 commit 981bbcdCopy full SHA for 981bbcd
File tree
Expand file treeCollapse file tree
3 files changed
+27
-41
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
3 files changed
+27
-41
lines changedOpen diff view settings
Collapse file
+11-17Lines changed: 11 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
196 | 196 | |
197 | 197 | |
198 | 198 | |
199 | | - |
200 | | - |
201 | | - |
202 | 199 | |
203 | 200 | |
204 | 201 | |
205 | | - |
206 | | - |
207 | | - |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
208 | 206 | |
209 | 207 | |
210 | 208 | |
211 | 209 | |
212 | | - |
213 | | - |
| 210 | + |
214 | 211 | |
215 | 212 | |
216 | 213 | |
217 | 214 | |
218 | 215 | |
219 | 216 | |
220 | | - |
221 | | - |
| 217 | + |
222 | 218 | |
223 | 219 | |
224 | 220 | |
225 | | - |
226 | 221 | |
227 | 222 | |
228 | 223 | |
229 | 224 | |
230 | 225 | |
231 | 226 | |
232 | 227 | |
233 | | - |
234 | | - |
235 | | - |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
236 | 232 | |
237 | 233 | |
238 | 234 | |
| ||
251 | 247 | |
252 | 248 | |
253 | 249 | |
254 | | - |
255 | | - |
256 | | - |
| 250 | + |
257 | 251 | |
258 | 252 | |
259 | 253 | |
|
Collapse file
+4-9Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
73 | 74 | |
74 | 75 | |
75 | 76 | |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
| 77 | + |
| 78 | + |
80 | 79 | |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
| 80 | + |
86 | 81 | |
87 | 82 | |
88 | 83 | |
Collapse file
+12-15Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1154 | 1154 | |
1155 | 1155 | |
1156 | 1156 | |
1157 | | - |
1158 | | - |
1159 | | - |
1160 | 1157 | |
1161 | 1158 | |
1162 | 1159 | |
1163 | | - |
1164 | | - |
1165 | | - |
| 1160 | + |
| 1161 | + |
| 1162 | + |
| 1163 | + |
1166 | 1164 | |
1167 | 1165 | |
1168 | 1166 | |
1169 | 1167 | |
1170 | | - |
1171 | | - |
| 1168 | + |
1172 | 1169 | |
1173 | 1170 | |
1174 | 1171 | |
1175 | 1172 | |
1176 | 1173 | |
1177 | 1174 | |
1178 | | - |
1179 | | - |
| 1175 | + |
1180 | 1176 | |
1181 | 1177 | |
1182 | 1178 | |
1183 | | - |
1184 | 1179 | |
1185 | 1180 | |
1186 | 1181 | |
1187 | 1182 | |
1188 | 1183 | |
1189 | 1184 | |
1190 | 1185 | |
1191 | | - |
1192 | | - |
1193 | | - |
| 1186 | + |
| 1187 | + |
| 1188 | + |
| 1189 | + |
1194 | 1190 | |
1195 | 1191 | |
1196 | 1192 | |
1197 | | - |
| 1193 | + |
1198 | 1194 | |
| 1195 | + |
1199 | 1196 | |
1200 | 1197 | |
1201 | 1198 | |
|
0 commit comments