Commit 4510165
gitweb.js: No need for inProgress in blame_incremental.js
JavaScript is single-threaded, so there is no need for protection
against re-entrancy via inProgress variable.
In particular calls to setInterval handler are stacked if handler
doesn't finish before new interrupt (before new interval). The same
happens with events - they are (hopefully) stacked if even handler
didn't finish work.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 2e987f9 commit 4510165
1 file changed
+3
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | 423 | | |
426 | 424 | | |
427 | 425 | | |
| |||
536 | 534 | | |
537 | 535 | | |
538 | 536 | | |
539 | | - | |
| 537 | + | |
540 | 538 | | |
541 | 539 | | |
542 | 540 | | |
543 | 541 | | |
544 | 542 | | |
545 | 543 | | |
546 | 544 | | |
547 | | - | |
548 | | - | |
549 | 545 | | |
550 | 546 | | |
551 | 547 | | |
552 | 548 | | |
553 | 549 | | |
554 | 550 | | |
555 | 551 | | |
556 | | - | |
| 552 | + | |
557 | 553 | | |
558 | 554 | | |
559 | 555 | | |
560 | 556 | | |
561 | 557 | | |
562 | 558 | | |
563 | 559 | | |
564 | | - | |
565 | | - | |
566 | 560 | | |
567 | 561 | | |
568 | 562 | | |
569 | 563 | | |
570 | 564 | | |
571 | 565 | | |
572 | | - | |
| 566 | + | |
573 | 567 | | |
574 | 568 | | |
575 | 569 | | |
| |||
609 | 603 | | |
610 | 604 | | |
611 | 605 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | 606 | | |
620 | 607 | | |
621 | 608 | | |
| |||
633 | 620 | | |
634 | 621 | | |
635 | 622 | | |
636 | | - | |
637 | | - | |
638 | 623 | | |
639 | 624 | | |
640 | 625 | | |
| |||
0 commit comments