Project

General

Profile

Actions

Bug #13406

open

the private member of WWebSocketResource not be erased

Added by amass law 3 months ago. Updated 11 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/10/2025
Due date:
% Done:

0%

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 about 2 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 11 days ago

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

Updated by Romain Mardulyn 11 days ago

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

Also available in: Atom PDF