Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

fix: remove error listener to prevent memory leak#1168

Merged
olavloite merged 4 commits into
googleapis:masterfrom
olavloite:remove-error-listener
Jul 7, 2020
Merged

fix: remove error listener to prevent memory leak#1168
olavloite merged 4 commits into
googleapis:masterfrom
olavloite:remove-error-listener

Conversation

@olavloite

Copy link
Copy Markdown
Contributor

Getting a session would set a new event listener on the session pool that would not always be removed. The event listener is now removed after each call.

Getting a session would set a new event listener on the session pool that
would not always be removed. The event listener is now removed after each
call.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 6, 2020
@codecov

codecov Bot commented Jul 6, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1168 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1168   +/-   ##
=======================================
  Coverage   98.23%   98.23%           
=======================================
  Files          23       23           
  Lines       21033    21039    +6     
  Branches     1156     1155    -1     
=======================================
+ Hits        20662    20668    +6     
  Misses        368      368           
  Partials        3        3           
Impacted Files Coverage Δ
src/session-pool.ts 99.74% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4aba27...93725b8. Read the comment docs.

@olavloite olavloite requested a review from skuruppu July 6, 2020 17:47
@skuruppu skuruppu requested review from a team July 7, 2020 10:34
@olavloite olavloite merged commit 523bd67 into googleapis:master Jul 7, 2020
@olavloite olavloite deleted the remove-error-listener branch July 7, 2020 14:21
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jul 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants