1 parent a4cc54f commit 071973bCopy full SHA for 071973b
1 file changed
git/gitapi.js
@@ -7,7 +7,7 @@ function changePushingState(to, pendingPromise) {
7
8
if (to === true) {
9
10
- pendingPromise = pendingPromise;
+ pendingPromise = pendingPromise ?? null;
11
12
window.addEventListener('beforeunload', beforeUnloadListener, {capture: true});
13
0 commit comments