gitweb.js: No need for inProgress in blame_incremental.js · ullmann/git@4510165 · GitHub
Skip to content

Commit 4510165

Browse files
jnarebgitster
authored andcommitted
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

Lines changed: 3 additions & 18 deletions

File tree

gitweb/static/js/blame_incremental.js

Lines changed: 3 additions & 18 deletions

0 commit comments

Comments
 (0)