Skip to content

Commit 85ca74b

Browse files
committed
Missed a change
1 parent 1c94eeb commit 85ca74b

File tree

1 file changed

+4
-5
lines changed
  • crates/sdk-core/src/worker

1 file changed

+4
-5
lines changed

crates/sdk-core/src/worker/mod.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,13 +1035,12 @@ impl Worker {
10351035
}
10361036

10371037
fn complete_local_act(&self, task_token: TaskToken, la_res: LocalActivityExecutionResult) {
1038-
if let Some(la_mgr) = &self.local_act_mgr {
1039-
if self
1038+
if let Some(la_mgr) = &self.local_act_mgr
1039+
&& self
10401040
.handle_la_complete_action(la_mgr.complete(&task_token, la_res))
10411041
.is_some()
1042-
{
1043-
dbg_panic!("Should never be a task from direct completion");
1044-
}
1042+
{
1043+
dbg_panic!("Should never be a task from direct completion");
10451044
}
10461045
}
10471046

0 commit comments

Comments
 (0)