Commit ce391ed
repl: event ordering: delay 'close' until 'flushHistory'
Emitting 'close' before the history has flushed is somewhat incorrect
and rather confusing.
This also makes the 'close' event always asynchronous for consistency.
Refs: #2356
PR-URL: #3435
Reviewed By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>1 parent b4f4c24 commit ce391edCopy full SHA for ce391ed
File tree
Expand file treeCollapse file tree
1 file changed
+17
-3
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+17
-3
lines changedOpen diff view settings
Collapse file
+17-3Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
| ||
229 | 229 | |
230 | 230 | |
231 | 231 | |
232 | | - |
| 232 | + |
233 | 233 | |
234 | 234 | |
235 | 235 | |
| ||
453 | 453 | |
454 | 454 | |
455 | 455 | |
456 | | - |
| 456 | + |
457 | 457 | |
458 | 458 | |
459 | 459 | |
| ||
479 | 479 | |
480 | 480 | |
481 | 481 | |
| 482 | + |
| 483 | + |
| 484 | + |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
482 | 496 | |
483 | 497 | |
484 | 498 | |
|
0 commit comments