Skip to content

Commit

Permalink
Fix segfault during addon creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuehlma committed Jan 17, 2023
1 parent e8d3a3f commit 3f2c54c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.teleboy/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="pvr.teleboy"
version="20.3.2"
version="20.3.3"
name="Teleboy PVR Client"
provider-name="rbuehlma">
<requires>
Expand Down
2 changes: 2 additions & 0 deletions pvr.teleboy/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v20.3.3
- Fix segfault during addon creation (this time with actual change)
v20.3.2
- Fix segfault during addon creation
v20.3.1
Expand Down
3 changes: 2 additions & 1 deletion src/TeleBoy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ bool TeleBoy::ApiDelete(string url, Document &doc)

TeleBoy::TeleBoy()
{
UpdateConnectionState("Initializing", PVR_CONNECTION_STATE_CONNECTING, "");
m_parameterDB = new ParameterDB(UserPath());
m_httpClient = new HttpClient(m_parameterDB);
m_session = new Session(m_httpClient, this);
m_httpClient->SetStatusCodeHandler(m_session);

UpdateConnectionState("Initializing", PVR_CONNECTION_STATE_CONNECTING, "");
}

TeleBoy::~TeleBoy()
Expand Down

0 comments on commit 3f2c54c

Please sign in to comment.