Commit 602fd36
domain: remove
`domain.dispose()` is generally considered an anti-pattern, has been
runtime-deprecated for over 4 years, and is a part of the `domain`
module that can not be emulated by `async_hooks`; so remove it.
Ref: https://nodejs.org/en/docs/guides/domain-postmortem/
Ref: 4a74fc9
PR-URL: #15412
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>.dispose()
1 parent 750c080 commit 602fd36Copy full SHA for 602fd36
File tree
Expand file treeCollapse file tree
12 files changed
+17
-336
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- src
- test/parallel
Expand file treeCollapse file tree
12 files changed
+17
-336
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
| 149 | + |
150 | 150 | |
151 | | - |
| 151 | + |
152 | 152 | |
153 | 153 | |
154 | 154 | |
|
Collapse file
+1-17Lines changed: 1 addition & 17 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
217 | 217 | |
218 | 218 | |
219 | 219 | |
220 | | - |
| 220 | + |
221 | 221 | |
222 | 222 | |
223 | 223 | |
| ||
329 | 329 | |
330 | 330 | |
331 | 331 | |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | | - |
341 | 332 | |
342 | 333 | |
343 | 334 | |
| ||
351 | 342 | |
352 | 343 | |
353 | 344 | |
354 | | - |
355 | | - |
356 | | - |
357 | 345 | |
358 | 346 | |
359 | 347 | |
| ||
369 | 357 | |
370 | 358 | |
371 | 359 | |
372 | | - |
373 | | - |
374 | | - |
375 | 360 | |
376 | 361 | |
377 | 362 | |
| ||
500 | 485 | |
501 | 486 | |
502 | 487 | |
503 | | - |
504 | 488 | |
505 | 489 | |
506 | 490 | |
|
Collapse file
+4-44Lines changed: 4 additions & 44 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | 78 | |
80 | 79 | |
81 | 80 | |
82 | 81 | |
83 | 82 | |
84 | 83 | |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | 84 | |
94 | 85 | |
95 | 86 | |
| ||
160 | 151 | |
161 | 152 | |
162 | 153 | |
163 | | - |
164 | | - |
165 | 154 | |
166 | 155 | |
167 | 156 | |
| ||
171 | 160 | |
172 | 161 | |
173 | 162 | |
174 | | - |
175 | | - |
| 163 | + |
176 | 164 | |
177 | | - |
| 165 | + |
178 | 166 | |
179 | 167 | |
180 | 168 | |
| ||
187 | 175 | |
188 | 176 | |
189 | 177 | |
190 | | - |
191 | | - |
| 178 | + |
| 179 | + |
192 | 180 | |
193 | 181 | |
194 | 182 | |
| ||
224 | 212 | |
225 | 213 | |
226 | 214 | |
227 | | - |
228 | | - |
229 | | - |
230 | 215 | |
231 | 216 | |
232 | 217 | |
| ||
248 | 233 | |
249 | 234 | |
250 | 235 | |
251 | | - |
252 | | - |
253 | | - |
254 | 236 | |
255 | 237 | |
256 | 238 | |
| ||
291 | 273 | |
292 | 274 | |
293 | 275 | |
294 | | - |
295 | | - |
296 | | - |
297 | 276 | |
298 | 277 | |
299 | 278 | |
| ||
318 | 297 | |
319 | 298 | |
320 | 299 | |
321 | | - |
322 | | - |
323 | | - |
324 | | - |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
Collapse file
-9Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
250 | 250 | |
251 | 251 | |
252 | 252 | |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | 253 | |
263 | 254 | |
264 | 255 | |
|
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | | - |
120 | 119 | |
121 | 120 | |
122 | 121 | |
|
Collapse file
+4-13Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1159 | 1159 | |
1160 | 1160 | |
1161 | 1161 | |
1162 | | - |
| 1162 | + |
1163 | 1163 | |
1164 | 1164 | |
1165 | 1165 | |
1166 | | - |
1167 | | - |
1168 | 1166 | |
1169 | 1167 | |
1170 | 1168 | |
| ||
1173 | 1171 | |
1174 | 1172 | |
1175 | 1173 | |
1176 | | - |
1177 | 1174 | |
1178 | 1175 | |
1179 | 1176 | |
1180 | | - |
| 1177 | + |
1181 | 1178 | |
1182 | 1179 | |
1183 | 1180 | |
1184 | | - |
1185 | | - |
1186 | 1181 | |
1187 | 1182 | |
1188 | 1183 | |
| ||
1191 | 1186 | |
1192 | 1187 | |
1193 | 1188 | |
1194 | | - |
1195 | 1189 | |
1196 | 1190 | |
1197 | 1191 | |
| ||
1398 | 1392 | |
1399 | 1393 | |
1400 | 1394 | |
1401 | | - |
1402 | | - |
1403 | | - |
| 1395 | + |
1404 | 1396 | |
1405 | 1397 | |
1406 | 1398 | |
| ||
1432 | 1424 | |
1433 | 1425 | |
1434 | 1426 | |
1435 | | - |
1436 | | - |
| 1427 | + |
1437 | 1428 | |
1438 | 1429 | |
1439 | 1430 | |
|
Collapse file
test/parallel/test-domain-abort-when-disposed.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-abort-when-disposed.js-25Lines changed: 0 additions & 25 deletions
This file was deleted.
Collapse file
test/parallel/test-domain-exit-dispose-again.js
Copy file name to clipboardExpand all lines: test/parallel/test-domain-exit-dispose-again.js-97Lines changed: 0 additions & 97 deletions
This file was deleted.
0 commit comments