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

Commit 228441f

Browse files
committed
add restartInProgress flag
1 parent c9a8f72 commit 228441f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RestartManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const NativeCodePush = require("react-native").NativeModules.CodePush;
33

44
const RestartManager = (() => {
55
let _allowed = true;
6+
let _restartInProgress = false;
67
let _restartQueue = [];
78

89
function allow() {

0 commit comments

Comments
 (0)