Change request #799

Store transport_server parent as weak_ptr

Added by David Demelier 3 months ago. Updated 3 months ago.

Status:ClosedStart date:04/17/2018
Priority:HighDue date:
Assignee:David Demelier% Done:

100%

Category:IrccdEstimated time:0.30 h
Target version:3.0.0
MFD after: Bookmark:@
MFD revision: Submitted by:
Branch:default

Description

Transport client must own their parent as weak_ptr because the transport server may be removed before a transport client handler finish, thus the transport_server reference may be invalidated.

Associated revisions

Revision 692:c2fe10be16d1
Added by David Demelier 3 months ago

Irccd: store parent as weak_ptr, closes #799, @30m

History

#1 Updated by David Demelier 3 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by David Demelier 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF