{"version":"1.0.118","anchor":"improved-async-cleanup-for-proxy-servers","canonical_anchor":"improved-async-cleanup-for-proxy-servers","heading":"Improved Async Cleanup for Proxy Servers","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.118\/e\/improved-async-cleanup-for-proxy-servers","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.118","markdown":"### Improved Async Cleanup for Proxy Servers\n\n**What:** Proxy server cleanup is now properly awaited and handles both HTTP and SOCKS5 proxies.\n\n**Details:**\n\n- Function `YC0()` at line 375687 now uses `Promise.all()` to wait for all proxies to shut down\n- HTTP proxy cleanup properly awaited instead of fire-and-forget\n- SOCKS proxy cleanup added for the new proxy type (lines 375714-375722)\n- Both proxies shut down in parallel for faster cleanup\n- Prevents race conditions and leaked proxy processes during shutdown\n- **Evidence**: `YC0()` at line 375687 changed from synchronous to async with Promise-based cleanup\n\n**Impact:** More reliable shutdown process with no leaked background processes."}