mini-software / MiniExcel

Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet (support Linux, Mac)
https://www.nuget.org/packages/MiniExcel/
Apache License 2.0
2.83k stars 344 forks source link

Increase support to Async Xlsx write #605

Open xXMateus97Xx opened 6 months ago

xXMateus97Xx commented 6 months ago

Excel Type

MiniExcel Version

1.32.1

Description

In the file ExcelOpenXmlSheetWriter.Async.cs, is possible to change the lines 598 and 608 to use await using. In this way, the method CloseAsync() will be called instead of Close().