diff --git a/CMakeLists.txt b/CMakeLists.txt index 989e54c..24b9021 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.3.2 + VERSION 0.3.3 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index 045a555..fb06748 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -78,6 +78,8 @@ const void Listener::stop() { _ptr->cancel_stream(); _thread.join(); + _ptr.reset(); + _stream = ""; } else {