Reconnections did not work, this should fix it. Needs testing

This commit is contained in:
tastytea 2018-05-19 22:49:40 +02:00
parent df818317ac
commit e053d7cd44
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 3 additions and 1 deletions

View File

@ -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
) )

View File

@ -78,6 +78,8 @@ const void Listener::stop()
{ {
_ptr->cancel_stream(); _ptr->cancel_stream();
_thread.join(); _thread.join();
_ptr.reset();
_stream = "";
} }
else else
{ {