exported audio click

hi,i have exported a 1 bar arpeggio riff from a vst on an instrument track to audio.
but when i import the riff into an audio track and play it back,it clicks at the very end.
anyone any clues as why this is happenning?

The clip doesn’t end at a zero crossing.

You could apply a v.short fade to remove it. Or you could turn on auto-fade for that track instead.