Project

General

Profile

Actions

Bug #13406

open

the private member of WWebSocketResource not be erased

Added by amass law about 1 month ago. Updated 18 days ago.

Status:
New
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 18 days 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

Also available in: Atom PDF