readerSource->setLooping(false) causes audio play back to stop

If I set readerSource->setLooping(false) and the audio file has already looped the audio play back stops. Is this a bug or am I misunderstanding how setLooping works? If it is a bug is there a workaround?

There was discussion about this around seven years ago but I don’t see anything more recent.
I believe I’m using the latest version of JUCE.

Thanks,
Stephen