Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bug in close method of RoomManager occurs memory leak #29058

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

Nektovet
Copy link
Contributor

Proposed changes (including videos or screenshots)

Just removed a typo in RoomManager close method. It never closes the room and it occurs a memory leak during chat navigation: detached DOM of every Room template, RoomStore instances, etc.

Issue(s)

Steps to test or reproduce

Further comments

@Nektovet Nektovet requested a review from a team as a code owner April 26, 2023 12:59
@CLAassistant
Copy link

CLAassistant commented Apr 26, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #29058 (ed2ecc0) into develop (4e3effd) will decrease coverage by 0.70%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #29058      +/-   ##
===========================================
- Coverage    46.10%   45.40%   -0.70%     
===========================================
  Files          728      715      -13     
  Lines        14107    14020      -87     
  Branches      2193     2175      -18     
===========================================
- Hits          6504     6366     -138     
- Misses        7291     7350      +59     
+ Partials       312      304       -8     
Flag Coverage Δ
e2e 45.37% <100.00%> (-0.70%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

gabriellsh
gabriellsh previously approved these changes Apr 26, 2023
@ggazzo ggazzo changed the base branch from develop to release-6.2.0 April 26, 2023 15:31
@ggazzo ggazzo dismissed gabriellsh’s stale review April 26, 2023 15:31

The base branch was changed.

@ggazzo ggazzo requested review from a team as code owners April 26, 2023 15:31
@ggazzo ggazzo changed the base branch from release-6.2.0 to develop April 26, 2023 15:32
@ggazzo ggazzo merged commit 37cb94c into RocketChat:develop Apr 26, 2023
gabriellsh added a commit that referenced this pull request Apr 27, 2023
…ixSearch

* 'develop' of github.com:RocketChat/Rocket.Chat: (54 commits)
  feat: Add support to search for public rooms through the Matrix Network (#28330)
  chore: Improve bash script and add new detailed infos (#29066)
  chore: Remove duplicated key in turbo.json (#29057)
  chore: improve unread indicator colors (#29045)
  fix: Notification badge background (#29053)
  fix: `JumpToMessages` button style (#29033)
  refactor: Remove imports based on isomorphic logic - 2 (#29065)
  refactor: Move `cloud` and `channel settings` to typescript (#28907)
  refactor: Separate isomorphic imports on utils - 1 (#29052)
  fix: bug in close method of RoomManager occurs memory leak (#29058)
  refactor: Remove Meteor.userId from Slashcommands (#28925)
  refactor: Move callbacks to async (#29051)
  Bump version to 6.2.0-rc.4
  refactor: No reference to jQuery types (#28977)
  regression: SlackBridge settings UI crashing (#29050)
  fix: `HeaderTag` (#28961)
  chore(deps): Patch dependencies (#29024)
  regression: Fixed livechat notifications displaying [object Promise] on title (#29021)
  regression: `fetch` response (#29032)
  refactor: Remove `meteor/http` for `serverFetch` (#29038)
  ...
gabriellsh added a commit that referenced this pull request Apr 27, 2023
…externalAvatarProvider

* 'develop' of github.com:RocketChat/Rocket.Chat: (88 commits)
  feat: Add support to search for public rooms through the Matrix Network (#28330)
  chore: Improve bash script and add new detailed infos (#29066)
  chore: Remove duplicated key in turbo.json (#29057)
  chore: improve unread indicator colors (#29045)
  fix: Notification badge background (#29053)
  fix: `JumpToMessages` button style (#29033)
  refactor: Remove imports based on isomorphic logic - 2 (#29065)
  refactor: Move `cloud` and `channel settings` to typescript (#28907)
  refactor: Separate isomorphic imports on utils - 1 (#29052)
  fix: bug in close method of RoomManager occurs memory leak (#29058)
  refactor: Remove Meteor.userId from Slashcommands (#28925)
  refactor: Move callbacks to async (#29051)
  Bump version to 6.2.0-rc.4
  refactor: No reference to jQuery types (#28977)
  regression: SlackBridge settings UI crashing (#29050)
  fix: `HeaderTag` (#28961)
  chore(deps): Patch dependencies (#29024)
  regression: Fixed livechat notifications displaying [object Promise] on title (#29021)
  regression: `fetch` response (#29032)
  refactor: Remove `meteor/http` for `serverFetch` (#29038)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants