Skip to content

Commit

Permalink
Merge pull request #457 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] fix problem with pvr instance thread, during destruct
  • Loading branch information
AlwinEsch authored Jun 15, 2020
2 parents 86e47fb + d03dc9f commit 0585290
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pvr.hts/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hts"
version="7.0.0"
version="7.0.1"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp, Kai Sommerfeld">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
7.0.1
- Fix hang during addon stop

7.0.0
- Update PVR API 7.0.0
- Rework addon to support new API interface
Expand Down
2 changes: 2 additions & 0 deletions src/Tvheadend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ CTvheadend::CTvheadend(KODI_HANDLE instance, const std::string& kodiVersion)

CTvheadend::~CTvheadend()
{
Stop();

for (auto* dmx : m_dmx)
delete dmx;

Expand Down
8 changes: 4 additions & 4 deletions src/Tvheadend.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ typedef P8PLATFORM::SyncedBuffer<tvheadend::HTSPMessage> HTSPMessageQueue;
/*
* Root object for Tvheadend connection
*/
class CTvheadend : public kodi::addon::CInstancePVRClient,
public P8PLATFORM::CThread,
public tvheadend::IHTSPConnectionListener,
public tvheadend::IHTSPDemuxPacketHandler
class ATTRIBUTE_HIDDEN CTvheadend : public kodi::addon::CInstancePVRClient,
public P8PLATFORM::CThread,
public tvheadend::IHTSPConnectionListener,
public tvheadend::IHTSPDemuxPacketHandler
{
public:
CTvheadend(KODI_HANDLE instance, const std::string& kodiVersion);
Expand Down

0 comments on commit 0585290

Please sign in to comment.