Skip to content

Commit

Permalink
prevent deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Oct 23, 2024
1 parent 9684e2e commit 6198ddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arrow/cdata/exports.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ func exportAsyncProducer(schema *arrow.Schema, stream <-chan RecordMessage, hand
return err
case req := <-reqChan:
pending += req
default:
}

if pending > 0 {
Expand Down

0 comments on commit 6198ddf

Please sign in to comment.