[infinispan-issues] [JBoss JIRA] (HRJS-61) Avoid leaking Buffer instances from data Socket callback

Galder Zamarreño (JIRA) issues at jboss.org
Tue May 22 02:39:00 EDT 2018


     [ https://issues.jboss.org/browse/HRJS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated HRJS-61:
---------------------------------
    Fix Version/s: 0.5.0


> Avoid leaking Buffer instances from data Socket callback
> --------------------------------------------------------
>
>                 Key: HRJS-61
>                 URL: https://issues.jboss.org/browse/HRJS-61
>             Project: Infinispan Javascript client
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 0.5.0
>
>
> Connection class keeps around a replayable buffer in case responses from server come in chunks. On data callback references it creating a closure. However, if there's nothing else to read, these buffers should be marked to null so that callback functions can be garbage collected. 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list