feat: server socket management for multiple browsers

This commit is contained in:
Rohit
2025-03-08 17:09:33 +05:30
parent a0e7404d25
commit 6de4cfcafe
6 changed files with 186 additions and 70 deletions

View File

@@ -79,7 +79,7 @@ export const destroyRemoteBrowser = async (id: string, userId: string): Promise<
await browserSession.stopCurrentInterpretation();
await browserSession.switchOff();
}
return browserPool.deleteRemoteBrowser(userId);
return browserPool.deleteRemoteBrowser(id);
};
/**