Skip to content

Commit

Permalink
fix(plc4go/spi): fixed transaction await never ending
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 29, 2022
1 parent de4d01e commit 927baf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plc4go/spi/RequestTransactionManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (f *CompletionFuture) complete() {
}

func (f *CompletionFuture) AwaitCompletion() error {
for !f.completed || !f.errored {
for !f.completed && !f.errored {
time.Sleep(time.Millisecond * 10)
}
return f.err
Expand Down

0 comments on commit 927baf3

Please sign in to comment.