Skip to content

Commit b15a13b

Browse files
committed
add comment
1 parent 6922cb0 commit b15a13b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodePush.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ - (void)startRollbackTimer:(int)rollbackTimeout
362362
if (installMode == CodePushInstallModeImmediate) {
363363
[self loadBundle];
364364
} else if (installMode == CodePushInstallModeOnNextResume) {
365+
// Ensure we do not add the listener twice.
365366
if (!hasRestartListener) {
366367
// Register for app resume notifications so that we
367368
// can check for pending updates which support "restart on resume"

0 commit comments

Comments
 (0)