Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e36861e

Browse files
authored
Update RestartManager.js
1 parent 8624904 commit e36861e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RestartManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ const RestartManager = (() => {
3434
_restartQueue.push(onlyIfUpdateIsPending);
3535
} else {
3636
_restartInProgress = true;
37-
log("Restarting app");
3837
if (await NativeCodePush.restartApp(onlyIfUpdateIsPending)) {
3938
// The app has already restarted, so there is no need to
4039
// process the remaining queued restarts.
40+
log("Restarting app");
4141
return;
4242
}
4343

@@ -56,4 +56,4 @@ const RestartManager = (() => {
5656
};
5757
})();
5858

59-
module.exports = RestartManager;
59+
module.exports = RestartManager;

0 commit comments

Comments
 (0)