ITADN

Fix memory leak by removing custom net/tls polyfills

#1109Pull Requestastralhpi 创建于 2025-09-12
A
astralhpicommented
## Problem Custom Socket polyfill implementation was causing memory leaks in Cloudflare Workers environments. ## Solution Removed custom net/tls polyfills since Cloudflare Workers now provide built-in polyfills for these modules. ## Changes - Removed custom net/tls polyfill imports from Cloudflare build - Updated transpilation to use Cloudflare's built-in polyfills instead ## Result - Fixes memory leak in Worker environments Reproducer: https://github.com/astralhpi/cf-worker-memory-leak-sample
合并状态:未合并 1 条评论