Reconnections did not work, this should fix it. Needs testing
This commit is contained in:
parent
df818317ac
commit
e053d7cd44
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.3.2
|
VERSION 0.3.3
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,8 @@ const void Listener::stop()
|
||||||
{
|
{
|
||||||
_ptr->cancel_stream();
|
_ptr->cancel_stream();
|
||||||
_thread.join();
|
_thread.join();
|
||||||
|
_ptr.reset();
|
||||||
|
_stream = "";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user