[Bug 20157] New: PendingConnection should produce a QSharedPointer< Connection> with no parent
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 17 13:13:51 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=20157
Summary: PendingConnection should produce a
QSharedPointer<Connection> with no parent
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: high
Component: telepathy-qt4
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: simon.mcvittie at collabora.co.uk
12:10 < smcv> andrunko, oggis_: in PendingConnection, should the
ConnectionManager really be the parent of the resulting
Connection, btw?
12:10 < oggis_> no it shouldn't
12:10 < oggis_> definitely not
12:10 < oggis_> it should return a shared pointer to a connection with no
parent at all
12:10 < oggis_> parents and shared pointers generally don't mix
12:10 < oggis_> when a parent deletes its children, the shared pointers will
become dangling
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list