[mythtv-commits] Ticket #10311: Cleanup reference counting

MythTV noreply at mythtv.org
Fri Jun 1 00:45:49 UTC 2012

#10311: Cleanup reference counting
 Reporter:  danielk           |          Owner:  danielk
     Type:  Developer Task    |         Status:  assigned
 Priority:  minor             |      Milestone:  0.26
Component:  MythTV - General  |        Version:  Master Head
 Severity:  medium            |     Resolution:
 Keywords:                    |  Ticket locked:  0

Comment (by Daniel Thor Kristjansson <danielk@…>):

 In [changeset:f0bfe0f0737e918536b0dd8aca466c3d37df6032/mythtv]:
 #!CommitTicketReference repository="mythtv"
 Refs #10311. Add additional debugging capabilities to ReferenceCounter.

 The original ReferenceCounter class would print out the QObject's
 I didn't implement this when I rewrote ReferenceCounter as a general
 reference counter. But having a name for an object does aid in debugging,
 reintroduces that idea but with a QString passed into the constructor. By
 default this is not enabled, but if you need to debug reference counting
 enabling it is just a matter of uncommenting a "//#define EXTRA_DEBUG" in
 the header and recompiling.

Ticket URL: <http://code.mythtv.org/trac/ticket/10311#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list