CSVDataStore doesn't clean up temp file when writing out

Description

If you create a new CSVFileDataStore and add a featureCollection to it the output file is correctly created but it leaves a temp file behind too.

Initially reported at GIS Stackexchange

Environment

None

Status

Assignee

Ian Turton

Reporter

Ian Turton

Triage

Components

Fix versions

Affects versions

21-RC
20.0

Priority

Medium
Configure