Hi Lewis
According to this link,
https://weeds.brisbane.qld.gov.au/we...rry-nightshade it is short lived.
So I would guess that cut it to stop it flowering/fruiting and it will die off.
Also, you try painting glyphosate (Roundup) on the plants rather than spray. May work.
Philip