Skip to content
Snippets Groups Projects
Commit 720b9c01 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix handle corruption

parent c644491f
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
...@@ -224,6 +224,11 @@ Feed::~Feed() { ...@@ -224,6 +224,11 @@ Feed::~Feed() {
UNIQUE_LOCK(mtx_, lk); UNIQUE_LOCK(mtx_, lk);
//ftl::saveJSON(FTL_LOCAL_CONFIG_ROOT "/feed.json", feed_config); //ftl::saveJSON(FTL_LOCAL_CONFIG_ROOT "/feed.json", feed_config);
handle_receiver_.cancel();
handle_record_.cancel();
handle_sender_.cancel();
record_recv_handle_.cancel();
receiver_.reset(); // Note: Force destruction first to remove filters this way receiver_.reset(); // Note: Force destruction first to remove filters this way
sender_.reset(); sender_.reset();
recorder_.reset(); recorder_.reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment