Closed wavded closed 2 years ago
Ah, looks like there's always been a data race issue with the Stream...
functions and we recently migrated the List...
functions to call the Stream...
functions internally to reduce duplicate code.
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
Issue Summary
After upgrading from v0.21.0 to v0.24.0, I have a data race when running the below function with
go run -race
Steps to Reproduce
go run -race
with a call toclient.ApiV2010.ListAvailablePhoneNumberTollFree
Code Snippet
Exception/Log
Technical details:
Seems to have been introduced here -> https://github.com/twilio/twilio-go/compare/v0.22.1...v0.24.0#diff-de50900a25591183bfd66763d56b5c812f8a2240004a592c9205ae33bb1d3126R293