From 6e760aa65535b807a02ca575a1ae6716d76e8f9d Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 27 May 2004 11:50:20 +0000 Subject: [PATCH] missing fixes --- include/connection.h | 3 ++- lib/dvb/demux.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/connection.h b/include/connection.h index 3ccaec1..8ca75cb 100644 --- a/include/connection.h +++ b/include/connection.h @@ -7,10 +7,11 @@ class eConnection: public virtual iObject, public Connection { int ref; + ePtr m_owner; public: DEFINE_REF(eConnection); public: - eConnection(const Connection &conn): Connection(conn), ref(0) { }; + eConnection(iObject *owner, const Connection &conn): Connection(conn), ref(0), m_owner(owner) { }; virtual ~eConnection() { disconnect(); } }; diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index e1d8bba..be9ac93 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -126,6 +126,6 @@ RESULT eDVBSectionReader::stop() RESULT eDVBSectionReader::connectRead(const Slot1 &r, ePtr &conn) { - conn = new eConnection(read.connect(r)); + conn = new eConnection(this, read.connect(r)); return 0; } -- 2.7.4