Skip to content

Temp files may be left #2119

Closed
Closed
@tgulacsi

Description

@tgulacsi

Description

Temp files may be left if some of them is removed before Close.

Steps to reproduce the issue

  1. Open an xlsx
  2. Remove one of the created $TMPDIR/excelize-* files
  3. Close the opened xlsx

Describe the results you received

Depending on closing order, some of the temp files may be left.

Describe the results you expected

No /tmp/excelize-* files left

Go version

1.24.1

Excelize version or commit ID

2.9.0

Environment

Debian Linux testing

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions