Fixed crash when disposing CsvProvider instances