fix: clean up SmartProxy lifecycle

This commit is contained in:
2026-04-28 21:59:00 +00:00
parent c5d9158078
commit 5cb6895a14
5 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ export class OneboxServicesManager {
// Remove reverse proxy route
if (service.domain) {
try {
this.oneboxRef.reverseProxy.removeRoute(service.domain);
await this.oneboxRef.reverseProxy.removeRoute(service.domain);
} catch (error) {
logger.warn(`Failed to remove reverse proxy route: ${getErrorMessage(error)}`);
}