Skip to content

Commit

Permalink
[MOBILE-4653] Fix engine paused state (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski authored Nov 15, 2024
1 parent e9d893a commit 11bbea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal constructor(
set(value) {
synchronized(this) {
dataStore.put(PAUSED_STORE_KEY, value)
engine.setEnginePaused(value)
engine.setExecutionPaused(value)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ internal class AutomationEngine(

override fun setEnginePaused(paused: Boolean) {
isPaused.update { paused }
triggerProcessor.setPaused(paused)
}

override fun setExecutionPaused(paused: Boolean) {
Expand Down

0 comments on commit 11bbea2

Please sign in to comment.