Skip to content

fix: correct SheetWriteHandler.afterSheetDispose to avoid repeated execution#900

Open
bengbengbalabalabeng wants to merge 2 commits intoapache:mainfrom
bengbengbalabalabeng:fix-issue-799
Open

fix: correct SheetWriteHandler.afterSheetDispose to avoid repeated execution#900
bengbengbalabalabeng wants to merge 2 commits intoapache:mainfrom
bengbengbalabalabeng:fix-issue-799

Conversation

@bengbengbalabalabeng
Copy link
Copy Markdown
Contributor

Purpose of the pull request

Related: #799

What's changed?

Adjust the trigger timing of afterSheetDispose: move the callback from ExcelBuilderImpl#addContent() / ExcelBuilderImpl#fill() to ExcelBuilderImpl#finish() to avoid repeated invocations in multi-write / multi-fill scenarios.

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant