Project

General

Profile

Actions

Bug #13406

closed
AL RM

the private member of WWebSocketResource not be erased

Bug #13406: the private member of WWebSocketResource not be erased

Added by amass law over 1 year ago. Updated 11 months 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.

MV Updated by Matthias Van Ceulebroeck over 1 year ago Actions #1

  • 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.

RM Updated by Romain Mardulyn over 1 year ago Actions #2

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn over 1 year ago Actions #3

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

MV Updated by Matthias Van Ceulebroeck about 1 year ago Actions #4

  • Assignee set to Matthias Van Ceulebroeck

MV Updated by Matthias Van Ceulebroeck 12 months ago Actions #5

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

MV Updated by Matthias Van Ceulebroeck 11 months ago Actions #6

  • Status changed from Implemented @Emweb to Implemented @Test

MV Updated by Matthias Van Ceulebroeck 11 months ago Actions #7

  • Status changed from Implemented @Test to Closed
Actions

Also available in: PDF Atom