diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b305ff..24b9021 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.3.4 + VERSION 0.3.3 LANGUAGES CXX ) diff --git a/src/main.cpp b/src/main.cpp index e8a7b3a..efd2791 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,7 +64,6 @@ int main(int argc, char *argv[]) cout << "DEBUG: Reestablishing connection...\n"; listener.stop(); listener.start(); - cout << "DEBUG: Reestablished connection.\n"; } for (Easy::Notification ¬if : listener.get_new_messages()) diff --git a/src/masto.cpp b/src/masto.cpp index 464755a..fb06748 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -77,10 +77,7 @@ const void Listener::stop() if (_ptr) { _ptr->cancel_stream(); - if (_running) - { - _thread.join(); - } + _thread.join(); _ptr.reset(); _stream = ""; }