[ 
https://issues.apache.org/jira/browse/TINKERPOP-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890211#comment-17890211
 ] 

ASF GitHub Bot commented on TINKERPOP-3112:
-------------------------------------------

ohana54 commented on PR #2807:
URL: https://github.com/apache/tinkerpop/pull/2807#issuecomment-2417572450

   Amazing thank you! 




> Javascript: memory leak when server responds with error
> -------------------------------------------------------
>
>                 Key: TINKERPOP-3112
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3112
>             Project: TinkerPop
>          Issue Type: Bug
>            Reporter: Tom
>            Priority: Major
>
> In the javascript sdk, when handling a socket message, we don't clear the 
> response handler in the case where we handle server errors.
> Link to source: 
> [https://github.com/apache/tinkerpop/blob/b7c9ddda16a3d059b2a677f578f131a7124187b6/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.ts#L358-L364]
> This causes a memory leak over time.
> I opened a PR to fix the issue: https://github.com/apache/tinkerpop/pull/2807



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to