Project

General

Profile

Actions

Bug #13406

closed

the private member of WWebSocketResource not be erased

Added by amass law 10 months ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/10/2025
Due date:
% Done:

100%

Estimated time:

Description

hello,in wt 4.11.1
i found the clients_, the private member of WWebSocketResource not be erased when WebSocketConnection instance was closed or other logic.
if WWebSocketResource as a static resource, i think i will keep growing.

Actions #1

Updated by Matthias Van Ceulebroeck 9 months ago

  • Target version set to 4.12.1

Hello amass,

you seem to be right. Going over the code, it seems that this vector will never shrink, and each WWebSocketResource should listen to the closed() signals of the WWebSocketConnection they maintain.
I have scheduled this for 4.12.1.

Actions #2

Updated by Romain Mardulyn 8 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #3

Updated by Romain Mardulyn 8 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #4

Updated by Matthias Van Ceulebroeck 3 months ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #5

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
  • % Done changed from 0 to 100
Actions #6

Updated by Matthias Van Ceulebroeck 29 days ago

  • Status changed from Implemented @Emweb to Implemented @Test
Actions #7

Updated by Matthias Van Ceulebroeck 19 days ago

  • Status changed from Implemented @Test to Closed
Actions

Also available in: Atom PDF