[mythtv-commits] mythtv commit: r7321 by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Sep 27 17:06:18 UTC 2005
Author: danielk
Date: 2005-09-27 17:06:17 +0000 (Tue, 27 Sep 2005)
New Revision: 7321
Changeset: http://cvs.mythtv.org/trac/changeset/7321
Modified:
trunk/mythtv/libs/libmythtv/dbox2channel.cpp
trunk/mythtv/libs/libmythtv/dbox2channel.h
trunk/mythtv/libs/libmythtv/dvbchannel.cpp
trunk/mythtv/libs/libmythtv/dvbchannel.h
Log:
Implements deleteLater() in the two QObject based channel classes.
The current DVB implementation can not cause a segfault. But without
these changes deleteLater() wouldn't close the channel right away
which could cause some race conditions if we wanted to create
another channel instance on the same device later. (i.e. if we
implement analog recording for the devices that support that.)
I've also cleaned up the constructor and destructor for DBox2Channel,
the current constructor implementation doesn't provide a name for
the class so signal/slot debugging would be pretty difficult, and
the current destructor doesn't safely shut down other QObject based
classes.
More information about the mythtv-commits
mailing list