Skip to content

Commit 6d38528

Browse files
authored
Do not perform actions if disabled (#503)
1 parent 9053227 commit 6d38528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LeanplumSDK/LeanplumSDK/ClassesSwift/Actions/ActionManager+Executor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import Foundation
99

1010
extension ActionManager {
1111
func performActions() {
12-
// If we are paused, exit as we will continue execution
12+
// If we are paused or disabled, exit as we will continue execution
1313
// when we are resumed.
14-
guard isPaused == false else {
14+
guard !isPaused, isEnabled else {
1515
return
1616
}
1717

0 commit comments

Comments
 (0)