| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:135f75eb-a8d3-a514-c173-893ee3726161 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6D2:5877B:54829B:743423:6AFC0FB5 |
| html-safe-nonce | 8356814e6841b8e15e4063da2d2a1c1c6b4e10c0cf1100b451a5e6fd343399e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQyOjU4NzdCOjU0ODI5Qjo3NDM0MjM6NkFGQzBGQjUiLCJ2aXNpdG9yX2lkIjoiODUwOTUyMDYzNDA3NjQ2NzEyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d49e9a239184cd699786a5e325b9334b74e2066550f994f7b25cd9a2c323e2d6 |
| hovercard-subject-tag | pull_request:5322739274 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/binarywang/WxJava/4149/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/19839da61d64a21b24338833f73ba8906e8921f22e9e87b6943e86d782d868a7/binarywang/WxJava/pull/4149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/19839da61d64a21b24338833f73ba8906e8921f22e9e87b6943e86d782d868a7/binarywang/WxJava/pull/4149 |
| og:image:alt | 问题
FileUtils.createTmpFile(InputStream, String, String) 每次调用都会用 Files.createTempDirectory("wxjava-temp") 新建一个目录,deleteOnExit 只注册了文件,目录本身永远不会被删除。调用方即使用完后删掉了返回的文件,目录也会一直留在系统临时目录里,JVM 退出后也还在... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | b84330808 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| turbo-cache-control | no-cache |
| go-import | github.com/binarywang/WxJava git https://github.com/binarywang/WxJava.git |
| octolytics-dimension-user_id | 1343140 |
| octolytics-dimension-user_login | binarywang |
| octolytics-dimension-repository_id | 49122742 |
| octolytics-dimension-repository_nwo | binarywang/WxJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49122742 |
| octolytics-dimension-repository_network_root_nwo | binarywang/WxJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/binarywang/WxJava/pull/4149#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=binarywang%2FWxJava |
| Reload | https://github.com/binarywang/WxJava/pull/4149 |
| Reload | https://github.com/binarywang/WxJava/pull/4149 |
| Reload | https://github.com/binarywang/WxJava/pull/4149 |
| binarywang | https://github.com/binarywang |
| WxJava | https://github.com/binarywang/WxJava |
| Code | https://github.com/binarywang/WxJava |
| Issues3 (3) | https://github.com/binarywang/WxJava/issues |
| Pull requests3 (3) | https://github.com/binarywang/WxJava/pulls |
| Discussions | https://github.com/binarywang/WxJava/discussions |
| Actions | https://github.com/binarywang/WxJava/actions |
| Wiki | https://github.com/binarywang/WxJava/wiki |
| Security and quality | https://github.com/binarywang/WxJava/security |
| Insights | https://github.com/binarywang/WxJava/pulse |
| https://github.com/binarywang/WxJava |
| b84330808 | https://github.com/b84330808 |
| binarywang:develop | https://github.com/binarywang/WxJava/tree/develop |
| b84330808:fix-tmp-dir-leak | https://github.com/b84330808/WxJava/tree/fix-tmp-dir-leak |
| Conversation | https://github.com/binarywang/WxJava/pull/4149 |
| Commits1 (1) | https://github.com/binarywang/WxJava/pull/4149/commits |
| Checks | https://github.com/binarywang/WxJava/pull/4149/checks |
| Files changed | https://github.com/binarywang/WxJava/pull/4149/files |
| fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 | https://github.com/binarywang/WxJava/pull/4149#top |
| b84330808 | https://github.com/b84330808 |
| binarywang:develop | https://github.com/binarywang/WxJava/tree/develop |
| b84330808:fix-tmp-dir-leak | https://github.com/b84330808/WxJava/tree/fix-tmp-dir-leak |
|
| https://github.com/b84330808 |
| b84330808 | https://github.com/b84330808 |
| Nov 15, 2026 | https://github.com/binarywang/WxJava/pull/4149#issue-6404013971 |
| createTmpFile这个创建的临时文件夹能加个删除吗 #1989 | https://github.com/binarywang/WxJava/issues/1989 |
| 生成大量临时文件没有删除占用空间 #3271 | https://github.com/binarywang/WxJava/issues/3271 |
| #4117 | https://github.com/binarywang/WxJava/pull/4117 |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
|
| https://github.com/b84330808 |
| fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 | https://github.com/binarywang/WxJava/pull/4149/commits/7ebd6ca4260c4929898e1842edaec5d5fe721679 |
| 7ebd6ca | https://github.com/binarywang/WxJava/pull/4149/commits/7ebd6ca4260c4929898e1842edaec5d5fe721679 |
| binarywang#1989 | https://github.com/binarywang/WxJava/issues/1989 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Nov 15, 2026 | https://github.com/binarywang/WxJava/pull/4149#issuecomment-6894365567 |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
| Your team has set up Codex to review pull requests in this repo | https://chatgpt.com/codex/cloud/settings/general |
| @codex | https://github.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
| https://github.com/binarywang |
| binarywang | https://github.com/binarywang |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 17, 2026 01:42 | https://github.com/binarywang/WxJava/pull/4149#event-36351091588 |
| started reviewing | https://github.com/binarywang/WxJava/sessions/b8ecabcd-c724-476c-8642-14a456c24a12 |
| binarywang | https://github.com/binarywang |
| November 17, 2026 01:42 | https://github.com/binarywang/WxJava/pull/4149#event-36351124404 |
|
View session
| https://github.com/binarywang/WxJava/sessions/b8ecabcd-c724-476c-8642-14a456c24a12 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 17, 2026
| https://github.com/binarywang/WxJava/pull/4149#pullrequestreview-5931288379 |
|
View reviewed changes
| https://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/binarywang/WxJava/pull/4149#pullrequestreview-5931288379 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 读取测试文件后关闭输入流再删除共享目录 | https://github.com/binarywang/WxJava/pull/4149#discussion_r4594207241 |
| #1989 | https://github.com/binarywang/WxJava/issues/1989 |
| #3271 | https://github.com/binarywang/WxJava/issues/3271 |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
| weixin-java-common/src/test/java/me/chanjar/weixin/common/util/fs/FileUtilsTest.java | https://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679#diff-a8cc4ba137c7be3689d8a378e25b47863dca000c99fdae3473b612ddfe5f337f |
| https://github.co/hiddenchars |
| https://github.com/binarywang/WxJava/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679 |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
| Please reload this page | https://github.com/binarywang/WxJava/pull/4149 |
|
| https://github.com/b84330808 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |